API reference

Download spec
get

List pending team invites

Returns invites that have not yet been accepted or expired. Each invite includes the target email, assigned role, and expiry time.

Required API key scope
members:read
/api/v1/team/members/invites

Code samples

curl --request GET \
  --url https://api.emailguard.co/api/v1/team/members/invites \
  --header 'Authorization: Bearer YOUR_API_KEY'

Parameters

This endpoint has no parameters.

Responses

200
OK
OK
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

dataunknown[]
messagestring

Human-readable detail when the code is not OK.

401
Unauthorized
Unauthorized
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.

403
Forbidden
Forbidden
codestringrequired

Machine-readable status code (for example OK or INVALID_BODY).

messagestring

Human-readable detail when the code is not OK.