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

List current user's spaces

Retrieve all spaces the authenticated user is a member of

get
https://api.insomnia.rest/v3/users/me/spaces

Query Parameters

page[size]integer

The maximum number of items to include per page. The last page of a collection may include fewer items.

Example:10

page[after]string

Request the next page of data, starting with the item after this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

page[before]string

Request the next page of data, starting with the item before this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

Response

application/json

A list response for spaces

* Additional properties are NOT allowed.
dataarray[object]required

A space represents a workspace for collaboration

Show Child Parameters
metaobjectrequired

Pagination metadata.

Show Child Parameters
get/users/me/spaces
 
application/json

List organizations

Retrieve all organizations matching the provided filters.

get
https://api.insomnia.rest/v3/organizations

Query Parameters

namestringrequired

Filter organizations by exact name.

page[size]integer

The maximum number of items to include per page. The last page of a collection may include fewer items.

Example:10

page[after]string

Request the next page of data, starting with the item after this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

page[before]string

Request the next page of data, starting with the item before this parameter.

Example:ewogICJpZCI6ICJoZWxsbyB3b3JsZCIKfQ

Response

application/json

A list response for organizations

* Additional properties are NOT allowed.
dataarray[object]required

An organization represents a logical grouping of spaces and users for access control and billing purposes

Show Child Parameters
metaobjectrequired

Pagination metadata.

Show Child Parameters
get/organizations
 
application/json