Skip to content

GET / POST /v1/team/invites

GET / POST /v1/team/invites

GET

Responses

  • 200 — Invites

Example

Terminal window
curl -X GET "https://mercury-api.deepeshkalurs.workers.dev/v1/team/invites" \
-H "Authorization: Bearer $MR_API_KEY"

POST

Request body

{
"$ref": "#/components/schemas/InviteCreate"
}

Responses

  • 201 — Invite created
  • 401 — Unauthorized

Example

Terminal window
curl -X POST "https://mercury-api.deepeshkalurs.workers.dev/v1/team/invites" \
-H "Authorization: Bearer $MR_API_KEY" \
-H "Content-Type: application/json" \
-d '{}'