POST
/
addCredential
curl --request POST \
  --url https://gateway.cyrexa.com/customer/1.0.0/addCredential \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'tenantId: <tenantid>' \
  --data '{
  "customerId": "<string>",
  "credentials": [
    {
      "credentialType": "email",
      "value": "<string>",
      "code": "<string>",
      "communicationChannel": {
        "name": "<string>",
        "type": "phone",
        "addressUrl": "<string>"
      }
    }
  ]
}'
{
  "id": "<string>",
  "message": "<string>",
  "code": 123
}

Authorizations

Authorization
string
header
required

The access token received from the authorization server in the OAuth 2.0 flow.

Headers

tenantId
string
required

Tenant/Owner id

Body

application/json
customerId
string
credentials
object[]

Response

200
application/json
Add credentials response
id
string
message
string
code
integer