User/ Auth
User auth, refresh, and logout endpoints.
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/social_login" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Content-Type: application/json" \ -d '{ "provider": "google", "code": "string" }'{ "code": "string", "response": { "accessToken": "string", "refreshToken": "string", "sessionId": "string", "user": { "_id": "string", "loginType": "email", "email": "string", "profile": { "name": "string", "locale": "en", "timezone": "utc", "currency": "usd" }, "twoFactor": {}, "onboardingCompleted": true } }}Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/login" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "stringst" }'{ "code": "string", "response": { "accessToken": "string", "refreshToken": "string", "sessionId": "string", "user": { "_id": "string", "loginType": "email", "email": "string", "profile": { "name": "string", "locale": "en", "timezone": "utc", "currency": "usd" }, "twoFactor": {}, "onboardingCompleted": true } }}Authorization
user-access-token User access token. In Apidog use token value {{user_access_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/change_password" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_access_token}}" \ -H "Content-Type: application/json" \ -d '{ "currentPassword": "stringst", "newPassword": "stringst", "confirmPassword": "stringst" }'{ "code": "string", "response": { "accessToken": "string", "refreshToken": "string", "sessionId": "string", "user": { "_id": "string", "loginType": "email", "email": "string", "profile": { "name": "string", "locale": "en", "timezone": "utc", "currency": "usd" }, "twoFactor": {}, "onboardingCompleted": true } }}Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/register" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com", "password": "stringst" }'{ "code": "string", "response": {}}Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/forgot_password" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Content-Type: application/json" \ -d '{ "email": "user@example.com" }'{ "code": "string", "response": {}}Authorization
user-forgot-password-token Forgot-password token. In Apidog use token value {{user_forgot_password_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/api/user/auth/v1/forgot_password/reset" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_forgot_password_token}}" \ -H "Content-Type: application/json" \ -d '{ "password": "stringst", "confirmPassword": "stringst" }'{ "code": "string", "message": "string"}Authorization
user-register-token Registration token. In Apidog use token value {{user_register_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/register/verify_otp" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_register_token}}" \ -H "Content-Type: application/json" \ -d '{ "otp": "string" }'{ "code": "string", "response": { "accessToken": "string", "refreshToken": "string", "sessionId": "string", "user": { "_id": "string", "loginType": "email", "email": "string", "profile": { "name": "string", "locale": "en", "timezone": "utc", "currency": "usd" }, "twoFactor": {}, "onboardingCompleted": true } }}Authorization
user-forgot-password-token Forgot-password token. In Apidog use token value {{user_forgot_password_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/forgot_password/verify_otp" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_forgot_password_token}}" \ -H "Content-Type: application/json" \ -d '{ "otp": "string" }'{ "code": "string", "response": {}}Authorization
user-register-token Registration token. In Apidog use token value {{user_register_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Response Body
application/json
curl -X POST "https://example.com/api/user/auth/v1/resend_otp" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_register_token}}"{ "code": "string", "response": {}}Authorization
user-refresh-token User refresh token. In Apidog use token value {{user_refresh_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Response Body
application/json
application/json
curl -X POST "https://example.com/api/user/auth/v1/refresh_token" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_refresh_token}}"{ "code": "string", "response": { "accessToken": "string", "refreshToken": "string", "sessionId": "string", "user": { "_id": "string", "loginType": "email", "email": "string", "profile": { "name": "string", "locale": "en", "timezone": "utc", "currency": "usd" }, "twoFactor": {}, "onboardingCompleted": true } }}Authorization
user-access-token User access token. In Apidog use token value {{user_access_token}}.
In: header
Header Parameters
Environment override (use "test" to bypass payload encryption)
"test"Client timezone
"UTC"Client device type/details
"ios"Client language/locale preference
"en"Response Body
application/json
application/json
curl -X POST "https://example.com/api/user/auth/v1/logout" \ -H "env: test" \ -H "timezone: UTC" \ -H "device: ios" \ -H "Accept-Language: en" \ -H "Authorization: Bearer {{user_access_token}}"{ "code": "string", "message": "string"}