Authentication
Last updated
Last updated
POST /auth HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 16
{
"email": "text"
}{
"success": true,
"data": {
"brands": [
{
"brand_name": "text",
"industry": "text",
"brand_logo": {
"light": "text",
"dark": "text"
},
"app": {
"background": {}
},
"brand_custom_login_page": {
"mobile": {},
"desktop": {}
},
"brand_signature": "text",
"brand_signature_name": "text",
"favicon": {
"light": "text",
"dark": "text"
},
"social_networks": [
{
"social_name": "facebook",
"url": "text"
}
],
"description": "text",
"description_banner": {},
"description_sub_icon": {},
"colors": {
"light": {
"primary": "text",
"secondary": "text",
"tertiary": "text",
"quaternary": "text",
"bg_primary": "text",
"bg_secondary": "text",
"text_color": "text",
"text_color_secondary": "text"
},
"dark": {
"primary": "text",
"secondary": "text",
"tertiary": "text",
"quaternary": "text",
"bg_primary": "text",
"bg_secondary": "text",
"text_color": "text",
"text_color_secondary": "text"
}
},
"notifications": [
{
"_id": 1,
"user_id": "text",
"notification": "text",
"isRead": true
}
],
"certifications": [
{
"certificat_id": "text",
"is_certified": true
}
],
"api_keys": [
{
"public_key": "text",
"secret_key": "text"
}
],
"retailers": [
{
"brand_id": "text"
}
],
"collection_created": [
{
"collection_id": "text"
}
],
"collaborators": [
{
"user_id": "text"
}
],
"temporary_api_key": "text",
"mfa": {
"isActive": true,
"encodedSecretKey": "text",
"secretKeySaved": true,
"activationDate": "2025-12-22T21:36:23.476Z"
},
"fireblocks_vault_id": "text",
"fireblocks_wallets": [
{
"blockchain": "text",
"pubkey": "text"
}
],
"otp_code": 1,
"otp_expire_at": 1,
"jwt_refresh_token": "text",
"slug": "text",
"slugs": [
"treebike"
],
"affiliation_program_url": "text",
"sponsors": [
"text"
],
"wildcard_domain": "text",
"riddle_project_id": "text",
"riddle_leaderboard_id": "text",
"klaviyo_segment_id": "text",
"unique_selling_points": [
{
"icon": "text",
"icon_image": {},
"title": "text",
"description": "text",
"background": {}
}
],
"claim_template": {
"title": "text",
"title_banner": "text",
"sections": [
{
"type": "image_text",
"asset": {},
"direction": "left",
"title": "text",
"description": "text",
"icon": {}
}
]
},
"next_release": "text",
"donation": [
{
"title": "text",
"description": "text",
"background": {},
"cta_label": "text",
"external_url": "text"
}
],
"created_at": "2025-12-22T21:36:23.476Z",
"updated_at": "2025-12-22T21:36:23.476Z"
}
],
"email": "text"
},
"message": "text"
}POST /auth/connect?brand_id=text HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 26
{
"email": {},
"otp_code": {}
}{
"success": true,
"message": "Request successful",
"data": "Brand | Product | Notification | ..."
}GET /auth/logout HTTP/1.1
Host:
Accept: */*
{
"success": true,
"message": "text"
}PUT /auth/refresh HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"message": "text"
}