NEAR AI Cloud: Confirm a contact email (public endpoint)
POST /v1/users/contact-email/verify Confirm a contact email (public endpoint) Deprecated: this endpoint is moving to cloud-platform at the same path; the cloud-platform base URL will be announced. Behaviour may differ in edge cases.
Confirms the address behind a verification token and records the opt-in. No session is needed: the token from the emailed link is the credential, and it works once. Fails with 409, changing nothing, when the address is another account's login email or verified contact email.
Request body (application/json):
- token (string, required): Token from the link in the verification email.
Responses: 200: Contact email verified
- status (string, required):
verification_sentafter a request,verifiedafter a confirmation. 400: Unknown, expired or already used token 404: Contact email verification is not enabled 409: The address is already used by another account 500: Internal server error