Invite a professional to a projectComing soon
Invites a professional to the project. They join when they accept.
Coming soon. Invites a professional to the project. They join when they accept.
Final action. When the connection is set to Ask me, this call returns 202 with an approval_url and does nothing until the account holder approves it in Matchai; Matchai then performs it exactly as sent and sends approval.resolved. When the connection is set to Allowed, it runs straight away.
Scopes: projects:write
Pricing: Included with the connection.
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: projects:write
project_id*stringProject id.
1 <= length <= 64Idempotency-Key?stringA unique string (a UUID works). Retrying with the same key within 24 hours returns the first response instead of acting twice. Reusing a key with a different body returns 409 idempotency_key_reused.
1 <= length <= 255application/json- body
Invites one of your contacts who is a Matchai professional, or anyone by email.
contact_id*unknownemail?stringSomeone not in your contacts.
emailrole?stringDefaults to member.
"admin""member"message?stringA personal note in the invitation.
length <= 500The invitation.
application/json- response
id*stringInvitation id.
1 <= length <= 64target*role*Roleowner: full control. admin: edit and manage. member: view.
"owner""admin""member"direction*string"sent""received"status*string"pending""accepted""declined""expired""revoked"invited*invited_by*delivery?|nullaccept_url?|For link invitations you sent: the link to pass on.
uriexpires_at*stringLapses.
date-timecreated_at*stringSent.
date-timeresponded_at?|Accepted or declined.
date-timecurl -X POST 'https://api.matchai.co/v1/projects/string/invitations' \ -H 'Idempotency-Key: 6f1d3c2a-0b7e-4f5a-9c8d-1e2f3a4b5c6d' \ -H 'Content-Type: application/json' \ -d '{ "contact_id": null}'{ "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"}