Verify
Testing
POST
/verify
verify
Last modified:2025-02-19 07:24:47
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api-core.deriv.com/v1/verify' \
--header 'x-client-id: {{RL_EXCLUSION_KEY}}' \
--header 'Content-Type: application/json' \
--data-raw '{
"token": "123456",
"type": "email",
"email": "Ca**************@******.com"
}'
Response Response Example
200 - Success
{
"data": [
{
"access_token": "eyJhbGciOiJIUzI****************************************************************************************************************************************************************************************************************************************I1cGEOaZ13to",
"token_type": "bearer",
"expires_in": 604800,
"expires_at": 1732505323,
"refresh_token": "-N1Egwc3********************5jMDwA",
"user": {
"id": "a74a57ee-*****-****-****-86022****7026",
"aud": "authenticated",
"role": "authenticated",
"email": "mo******************@********.com",
"email_confirmed_at": "2024-11-18T03:28:43.696546Z",
"phone": "",
"confirmation_sent_at": "2024-11-18T03:25:32.373435Z",
"confirmed_at": "2024-11-18T03:28:43.696546Z",
"last_sign_in_at": "2024-11-18T03:28:43.703608Z",
"app_metadata": {
"provider": "email",
"providers": [
"email"
]
},
"user_metadata": {
"email": "mo******************@********.com",
"email_verified": false,
"phone_verified": false,
"sub": "a74a57ee-*****-****-****-86022****7026"
},
"identities": [
{
"identity_id": "0a478d07-****-*****-****-b373****ae5",
"id": "a74a57ee-*****-****-****-86022****7026",
"user_id": "a74a57ee-*****-****-****-86022****7026",
"identity_data": {
"email": "mo******************@********.com",
"email_verified": false,
"phone_verified": false,
"sub": "a74a57ee-*****-****-****-86022****7026"
},
"provider": "email",
"last_sign_in_at": "2024-11-18T03:25:32.36801Z",
"created_at": "2024-11-18T03:25:32.36807Z",
"updated_at": "2024-11-18T03:25:32.36807Z",
"email": "mo******************@********.com"
}
],
"created_at": "2024-11-18T03:25:32.359527Z",
"updated_at": "2024-11-18T03:28:43.859926Z",
"is_anonymous": false
}
}
],
"meta": {
"endpoint": "/verify",
"method": "POST",
"timing": 419
}
}
Request
Header Params
x-client-id
string
optional
Default:
{{RL_EXCLUSION_KEY}}
Body Params application/json
Responses
Modified at 2025-02-19 07:24:47