identity
POST /v1/me/email/change
Mail a confirmation code to a new address for this person's account.
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
| Name | Type | Required | What it is |
|---|---|---|---|
email | string | Yes | — |
Response
| Name | Type | Required | What it is |
|---|---|---|---|
ticket | string | Yes | — |
sent_to | string | Yes | — |
Errors this endpoint can return
401 · 403 · 409 · 422 · 429