identity

POST /v1/me/email/change

Mail a confirmation code to a new address for this person's account.

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 \
  -H "Authorization: Bearer zdk_live_…" \
  -H "Content-Type: application/json" \
  -d '{ "email": <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

Checks the new address (well-formed, not reserved, not another account's, not itself undeliverable), then mails a six-digit code to it — only to it — and returns a signed ticket for the confirm step. Nothing changes until the code comes back. Five codes per person per hour.

Request body

NameTypeRequiredWhat it is
emailstringYes—

Response

NameTypeRequiredWhat it is
ticketstringYes—
sent_tostringYes—

Errors this endpoint can return

401 · 403 · 409 · 422 · 429