Median

GET /invites

Updated Oct 1, 20261 minute read

List invites

Every invitation still waiting to be accepted, newest first.

Part of Organization.

Responses

StatusDescription
200The pending invitations.
401The bearer token is missing, revoked, or expired.
403The token's person does not hold the role this needs.
429Too many requests. Wait the seconds in Retry-After. Limits depend on the plan. See rate limits.

200 body

FieldTypeRequiredDescription
invitesobject[]No
invites[].idstringNo
invites[].emailstringNo
invites[].role"owner" | "admin" | "member"No
invites[].invitedByNamestringNo
invites[].createdAtintegerNo
invites[].sentAtanyNo
invites[].sendErroranyNo

Example request

curl https://api.median.sh/v1/invites \
  -H "Authorization: Bearer $BEARER_AUTH"

Still need help?

    Esc