User
Last updated
Last updated
GET /user/me HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"user": {
"email": "text",
"email_verified": true,
"name": "text",
"firstname": "text",
"lastname": "text",
"profile_picture": "text",
"pseudo": "text",
"show_pseudo": true,
"phone_number": "text",
"phone_number_country_code": "text",
"phone_number_verified": true,
"phone_number_otp_code": "text",
"phone_number_otp_code_expire_at": "2025-12-22T21:33:50.818Z",
"user_accept_notification_by_sms": true,
"user_accept_notification_by_email": true,
"notifications": [
{
"_id": "text",
"isRead": true
}
],
"banners": [
{
"_id": "text"
}
],
"polls": [
{
"_id": 1,
"isAnswered": true,
"isHide": true
}
],
"logins_date": [
{
"date": "2025-12-22T21:33:50.818Z"
}
],
"mfa": {
"isActive": true,
"encodedSecretKey": "text",
"secretKeySaved": true,
"isSkiped": true,
"activationDate": "2025-12-22T21:33:50.818Z"
},
"term_privacy": {
"termAndPrivacyAreAccepted": true,
"acceptanceDate": "2025-12-22T21:33:50.818Z"
},
"borrows": [
{
"product_id": "text",
"date": "2025-12-22T21:33:50.818Z",
"authorized": true,
"isAsker": true,
"askerAddress": "text",
"temporaryCertificatAddress": "text"
}
],
"otp_code": 1,
"otp_expire_at": 1,
"jwt_refresh_token": "text",
"verify_email_token": "text",
"fireblocks_wallets": [
{
"blockchain": "text",
"pubkey": "text"
}
],
"fireblocks_vault_id": "text",
"brands": [
"text"
],
"role": "BRAND",
"user_language": "text",
"postal_code": "text",
"active_persona_id": "text",
"created_at": "2025-12-22T21:33:50.818Z",
"updated_at": "2025-12-22T21:33:50.818Z"
},
"app_identity": {
"logo": {
"light": "text",
"dark": "text"
},
"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"
}
}
}
}PUT /user/me/infos HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 2
{}{
"success": true,
"message": "Request successful",
"data": "CheckOwnershipData | CertificateData | ..."
}PUT /user/me/verify/{token} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"message": "Request successful",
"data": "CheckOwnershipData | CertificateData | ..."
}PUT /user/me/unsubscribe/{token} HTTP/1.1
Host:
Accept: */*
{
"success": true,
"message": "Request successful",
"data": "CheckOwnershipData | CertificateData | ..."
}POST /user/add/phone HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 23
{
"phone_number": "text"
}{
"success": true,
"message": "Request successful",
"data": "CheckOwnershipData | CertificateData | ..."
}POST /user/verify/phone HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 19
{
"otp_code": "text"
}{
"success": true,
"message": "Request successful",
"data": "CheckOwnershipData | CertificateData | ..."
}GET /user/assets/{keywords} HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
{
"success": true,
"message": "Request successful",
"data": "CheckOwnershipData | CertificateData | ..."
}GET /user/chat/sign HTTP/1.1
Host:
Authorization: Bearer YOUR_SECRET_TOKEN
Accept: */*
text