emails API methods
Request a new confirmation email, potentially to a new email address.
Resend confirmation email
POST /api/v1/emails/confirmations HTTP/1.1
Resend a new confirmation email. If an email is provided, updates the unconfirmed user’s email before resending the confirmation email.
Returns: Empty
OAuth: User token issued to the client that created the unconfirmed user
Version history:
3.4.0 - added
Request
Headers
- Authorization
- required Provide this header with
Bearer <user_token>
to gain authorized access to this API method.
Form data parameters
- String. If provided, updates the unconfirmed user’s email before resending the confirmation email.
Response
200: OK
{}
403: Forbidden
The client associated with the token does not own the unconfirmed user.
{
"error": "This method is only available to the application the user originally signed-up with"
}
Alternatively, the user has already confirmed their email.
{
"error": "This method is only available while the e-mail is awaiting confirmation"
}
See also
POST /api/v1/apps POST /api/v1/accounts app/controllers/api/v1/emails/confirmations_controller.rbLast updated October 10, 2024 · Improve this page