Get an invitationComing soon
Returns one invitation.
Coming soon. This is documented ahead of launch so you can plan your integration; it is not available yet.
GET
Coming soon. Returns one invitation.
Scopes: teams:read and projects:read
Pricing: Included with the connection.
header
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: teams:read, projects:read
invitation_id*stringInvitation id.
Length
1 <= length <= 64The invitation.
application/json- response
id*stringInvitation id.
Length
1 <= length <= 64target*role*Roleowner: full control. admin: edit and manage. member: view.
Value in
"owner""admin""member"direction*stringValue in
"sent""received"status*stringValue in
"pending""accepted""declined""expired""revoked"invited*invited_by*delivery?|nullaccept_url?|For link invitations you sent: the link to pass on.
Format
uriexpires_at*stringLapses.
Format
date-timecreated_at*stringSent.
Format
date-timeresponded_at?|Accepted or declined.
Format
date-timecurl -X GET 'https://api.matchai.co/v1/invitations/string'Example Response
{ "id": "string", "target": { "type": "team", "id": "string", "name": "string" }, "role": "owner", "direction": "sent", "status": "pending", "invited": { "display_name": "string", "email": "user@example.com", "phone": "string" }, "invited_by": { "user_id": "string", "display_name": "string" }, "delivery": { "channel": "email", "state": "pending" }, "accept_url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z", "created_at": "2019-08-24T14:15:22Z", "responded_at": "2019-08-24T14:15:22Z"}