identity

POST /v1/me/email/change/confirm

Move this person's account to the new address, with the code mailed to it.

All identity endpoints

All developer docs →

Zinn®, our Viking, hammering at his anvil beside an API endpoint sending events to several listeners.

Authentication

Send an API key as a bearer token. This endpoint checks no specific permission, so any key for your organisation can call it.

This endpoint takes no organisation id. Your key already identifies the organisation it belongs to, and the response is scoped to it.

Try it

Replace anything in angle brackets with your own values, and the key placeholder with a key from your dashboard.

curl -X POST https://api.zinndigital.com/v1/me/email/change/confirm \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "ticket": <string>, "code": <string> }'

Signed in? The API console in your dashboard fills in your real organisation id and your own key, and runs the request against the live API so you can see the actual response. Open this endpoint in the API console

Details

Proves the code, then writes the address to the identity provider (the sign-in name follows) and to the account every notification is sent to, marked verified. A ticket is spent once the address moves; five wrong codes spend it too. Audited as account.email_changed.

Request body

NameTypeRequiredWhat it is
ticketstringYes—
codestringYes—

Response

NameTypeRequiredWhat it is
emailstringYes—
verifiedbooleanYes—
statusstring<ok, bounced, complained, unverified>Yes—
sinceobjectYes—

Errors this endpoint can return

401 · 403 · 409 · 422 · 429 · 503