Create an invitation
curl --request POST \
--url https://dev-public-api.openphone.dev/invites \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"email": "johndoe@example.com",
"role": "member",
"phoneNumberIds": [
"PN123abc"
]
}
'{
"data": {
"id": "IV123abc",
"email": "johndoe@example.com",
"phoneNumberIds": [
"PN123abc"
],
"role": "member",
"status": "pending",
"acceptedAt": "2022-01-01T00:00:00Z",
"acceptedBy": "US456def",
"cancelledAt": "2022-01-01T00:00:00Z",
"createdAt": "2022-01-01T00:00:00Z",
"invitedBy": "US123abc",
"updatedAt": "2022-01-01T00:00:00Z"
}
}Invites
Create an invitation
Invite someone to your Quo workspace and send them an invitation email. A pending invitation occupies a billable seat, so creating one changes your subscription.
POST
/
invites
Create an invitation
curl --request POST \
--url https://dev-public-api.openphone.dev/invites \
--header 'Authorization: <api-key>' \
--header 'Content-Type: application/json' \
--header 'Quo-Api-Version: <quo-api-version>' \
--data '
{
"email": "johndoe@example.com",
"role": "member",
"phoneNumberIds": [
"PN123abc"
]
}
'{
"data": {
"id": "IV123abc",
"email": "johndoe@example.com",
"phoneNumberIds": [
"PN123abc"
],
"role": "member",
"status": "pending",
"acceptedAt": "2022-01-01T00:00:00Z",
"acceptedBy": "US456def",
"cancelledAt": "2022-01-01T00:00:00Z",
"createdAt": "2022-01-01T00:00:00Z",
"invitedBy": "US123abc",
"updatedAt": "2022-01-01T00:00:00Z"
}
}Headers
Body
application/json
Was this page helpful?