Start adding a user email address

Sends a verification code to the email address provided (if available).

post
https://api.insomnia.rest/v3/users/me/emails

Body

application/json

Request to send a verification code to a user email address

emailstring(email)required

The email address

Example:jane.doe@example.com

Response

application/json

Verification code sent successfully response

* Additional properties are NOT allowed.
emailstring(email)required

The email address

Example:jane.doe@example.com

post/users/me/emails

Body

{ "email": "jane.doe@example.com" }
 
application/json

Verify an email address

Verify an email address for the current user.

put
https://api.insomnia.rest/v3/users/me/emails/{address}/verify

Path Parameters

addressstring(email)required

The email address

Example:jane.doe@example.com

Body

application/json

Request to verify a user email address

codestringrequired

Example:1W34Q6

Response

Email verified successfully

put/users/me/emails/{address}/verify

Body

{ "code": "1W34Q6" }
 

Set the primary email address

Set the primary email address for the current user.

put
https://api.insomnia.rest/v3/users/me/emails/{address}/primary

Path Parameters

addressstring(email)required

The email address

Example:jane.doe@example.com

Response

application/json

Email set as primary successfully

UserEmail

An email address associated with a user

emailstring(email)required

The email address

Example:jane.doe@example.com

is_primarybooleanrequired

Whether this is the user’s primary email

Example:true

put/users/me/emails/{address}/primary
 
application/json

Delete an email address

Delete an email address for the current user.

delete
https://api.insomnia.rest/v3/users/me/emails/{address}

Path Parameters

addressstring(email)required

The email address

Example:jane.doe@example.com

Response

Email deleted successfully

delete/users/me/emails/{address}
 

Upload user profile picture

Upload a profile picture for the currently authenticated user.
The picture is automatically saved to the user’s profile.

The uploaded file must be an image (JPEG or PNG) and cannot exceed 1MB.

post
https://api.insomnia.rest/v3/users/me/picture

Body

multipart/form-data
filestringrequired

The image file to upload

Response

Picture uploaded successfully

post/users/me/picture

Body

No file selected
 
Error initializing code snippet