GET /invites
Updated Oct 1, 20261 minute read
List invites
Every invitation still waiting to be accepted, newest first.
Part of Organization.
Responses
| Status | Description |
|---|---|
200 | The pending invitations. |
401 | The bearer token is missing, revoked, or expired. |
403 | The token's person does not hold the role this needs. |
429 | Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits. |
200 body
| Field | Type | Required | Description |
|---|---|---|---|
invites | object[] | No | |
invites[].id | string | No | |
invites[].email | string | No | |
invites[].role | "owner" | "admin" | "member" | No | |
invites[].invitedByName | string | No | |
invites[].createdAt | integer | No | |
invites[].sentAt | any | No | |
invites[].sendError | any | No |
Example request
curl https://api.median.sh/v1/invites \
-H "Authorization: Bearer $BEARER_AUTH"