curl --request POST \
--url https://gateway.cyrexa.com/customer/1.0.0/login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"credentials": [
{
"credentialType": "email",
"value": "<string>",
"code": "<string>",
"communicationChannel": {
"name": "<string>",
"type": "phone",
"addressUrl": "<string>"
}
}
]
}'
[
{
"userId": "<string>",
"customerId": "<string>",
"personId": "<string>",
"tenantId": "<string>",
"organizationId": "<string>",
"credentials": [
{
"sessionId": "<string>",
"value": "<string>",
"token": "<string>"
}
],
"twoFaInfo": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"tenantId": "<string>",
"login": true,
"trading": true,
"funding": true,
"userId": "<string>"
}
]
}
]
curl --request POST \
--url https://gateway.cyrexa.com/customer/1.0.0/login \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--header 'tenantId: <tenantid>' \
--data '{
"credentials": [
{
"credentialType": "email",
"value": "<string>",
"code": "<string>",
"communicationChannel": {
"name": "<string>",
"type": "phone",
"addressUrl": "<string>"
}
}
]
}'
[
{
"userId": "<string>",
"customerId": "<string>",
"personId": "<string>",
"tenantId": "<string>",
"organizationId": "<string>",
"credentials": [
{
"sessionId": "<string>",
"value": "<string>",
"token": "<string>"
}
],
"twoFaInfo": [
{
"id": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"tenantId": "<string>",
"login": true,
"trading": true,
"funding": true,
"userId": "<string>"
}
]
}
]
The access token received from the authorization server in the OAuth 2.0 flow.
Tenant/Owner id
Login response
The response is of type object[]
.