Add Email
This endpoint is designed for adding a new email address to a user's account.
After confirming the phone number or after user authorization, you will receive an access_token. You need to enter this access_token in the
Token
field.
The required body parameters
Request Sample: cURL
At the time of sending the request, the curl command should be as follows:
curl --request PUT \
--url https://api.vault.sandbox.testessential.net/v2/mobile/email/add \
--header 'accept: application/json' \
--header 'authorization: Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIwNTFhYTc3Mi0yNDk4LTQ0ZTEtODdmYi0zYzNhZDdlMTY1ODgiLCJleHAiOjE3MTEwMzgxMjAsImlhdCI6MTcxMDk1MTcyMH0.yUvwJWyilQOdeKi3rnCAyaU3QuCEV0ijoZGCHY9NhTA' \
--header 'content-type: application/json' \
--data '
{
"email": "[email protected]"
}
'
After entering the phone number and password into the respective fields, you need to click the Try It!
button.
This action initiates the process of sending data to the server and receiving a response from the API using the provided credentials.
Response Example
The response status code indicates that the request was successfully processed.
{
"result": "ok"
}
To obtain additional information about the RESPONSE
, you need to click on the Headers
button.
This will allow you to view the server response headers and gain a more detailed understanding of the data returned in response to your request.
Updated 7 months ago