POST
/
v2
/
channel
/
email
/
verify
Verify Email Channel
curl --request POST \
  --url https://alerts-api.dial.to/v2/channel/email/verify \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'X-Dialect-Client-Key: <x-dialect-client-key>' \
  --data '{
  "code": "123456"
}'
{
  "id": "<string>",
  "type": "EMAIL",
  "value": "<string>",
  "verified": true,
  "subscribed": true,
  "subscribedApps": [
    {
      "id": "255d6163-7e25-43e9-a188-c2f8d0980a4a",
      "name": "Dialect",
      "icon": "https://dialect-file-storage.s3.us-west-2.amazonaws.com/avatars/dialect-logo.png"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer token authentication for subscriber calls

Headers

X-Dialect-Client-Key
string
required

Client Key used to uniquely identify the client

Example:

"dk_gyh2eqzfkc4mhp5eiahnndkz"

Body

application/json

Response

200
application/json

Email channel verified successfully

The response is of type object.