Create client
To create a client, send a POST request to https://api.planadoapp.com/v2/clients.
organization_name filled$ curl --data "{\"organization\":true,\"organization_name\":\"New organization\"}" \
-H "Authorization: Bearer api-key" \
https://api.planadoapp.com/v2/clients | jq
{
"client_uuid": "137ecf60-06cd-6930-bd93-46513db41965"
}
In response, the API returns the uuid value of the newly created client.
organization value cannot be changed after adding a client.
|
Request schema for organizations
All fields are optional except for organization_name and organization which must be true.
| Field | Type | JSON type | Required | Can be null |
Description |
|---|---|---|---|---|---|
|
Boolean |
Boolean |
Yes |
No |
Must be |
|
String |
String |
Yes |
No |
Organization name. Limited to 5000 characters |
|
String |
String |
No |
No |
|
|
Object |
No |
No |
Address fields |
|
|
[Contact] |
Array |
No |
No |
List of contacts |
|
Array |
No |
No |
Additional fields |
Request schema for individuals
All fields are optional except for organization which must be false. Additionally, at least one of first_name, last_name, and middle_name must not be empty.
| Field | Type | JSON type | Required | Can be null |
Description |
|---|---|---|---|---|---|
|
Boolean |
Boolean |
Yes |
No |
Must be |
|
String |
String |
No |
Yes |
First name. Up to 50 characters |
|
String |
String |
No |
Yes |
Last name. Up to 50 characters |
|
String |
String |
No |
Yes |
Middle name. Up to 50 characters |
|
String |
String |
No |
No |
|
|
Object |
No |
No |
Address fields |
|
|
[Contact] |
Array |
No |
No |
List of contacts |
|
Array |
No |
No |
Additional fields |