Skip to content

Mark email as verified

Request

Indicates that the user's email address was verified externally. A user's email address is automatically marked as verified when used in a Transmit authentication or verification flow. If the email address is a secondary email, the request can also be used to set it as the user's primary email (by setting change_to_primary to true).

Required permissions: apps:edit, [appId]:edit, users:edit.

Security
ClientAccessToken
Path
user_idstringrequired

The ID of the user that should be updated

emailstringrequired

The email of the user that should be verified

Bodyapplication/jsonrequired
change_to_primaryboolean
curl -i -X POST \
  'https://api.sbx.transmitsecurity.io/cis/v1/users/{user_id}/emails/{email}/verify' \
  -H 'Authorization: Bearer <YOUR_TOKEN_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "change_to_primary": true
  }'

Responses

User email has been verified

Response
No content