Error
A valid request URL is required to generate request examples{
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"role": "owner",
"role_name": "Owner",
"permissions": [
"$team.manage",
"$billing.manage",
"$keys.manage"
],
"joined_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Customer teams
Open a customer
Creates a customer with the calling contact as its owner. This is how a team is born from the browser.
An anonymous visitor is refused (identity_required): a team owned by a row that never became a person is a foreign key waiting to break.
POST
/
v1
/
contact
/
customers
Error
A valid request URL is required to generate request examples{
"customer": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"role": "owner",
"role_name": "Owner",
"permissions": [
"$team.manage",
"$billing.manage",
"$keys.manage"
],
"joined_at": "2023-11-07T05:31:56Z",
"created_at": "2023-11-07T05:31:56Z"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}{
"error": {
"code": "forbidden",
"message": "your role does not allow this action"
}
}Autorizações
A contact session token, uk_ct_…. Belongs to one of the developer's own users, and reads only that user's data.
Corpo
application/json
Maximum string length:
200Resposta
Created.
A customer, as the contact who belongs to it sees it.
Show child attributes
Show child attributes