Snapvisor Docs

List pending invites

List the pending invitations to join a team, most recent first. Requires administrator access to the team. Use it to check who has been invited to a team but has not joined yet.

GET
/accounts/{accountSlug}/invites

List the pending invitations to join a team, most recent first. Requires administrator access to the team. Use it to check who has been invited to a team but has not joined yet.

Authorization

AuthorizationBearer <token>

Authenticate as a user with a personal access token.

Send it as a bearer token in the Authorization header:

Authorization: Bearer <personal-access-token>

Personal access tokens act on behalf of the user that created them and are required by endpoints that perform user actions, such as reviewing builds and posting comments.

In: header

Path Parameters

accountSlug*string

Slug of the team.

Length1 <= length

Query Parameters

perPage?string

Number of items per page (max 100)

page?string

Page number

search?string

Match invites on their email address.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/accounts/string/invites"
{  "pageInfo": {    "total": 0,    "page": 0,    "perPage": 0  },  "results": [    {      "id": "string",      "email": "user@example.com",      "level": "owner",      "createdAt": "2019-08-24T14:15:22Z",      "expiresAt": "2019-08-24T14:15:22Z",      "expired": true    }  ]}