Create client
agendapro_create_clientWRITE: create a new client. first_name is required and at least one of last_name, email or phone must also be given (AgendaPro's rule). Search first (agendapro_search_clients) to avoid duplicates; not idempotent. No message is sent to the client. POST /v3/clients.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| age | No | Age in years. | |
| city | No | City. On update, an empty string clears the stored value. | |
| No | Email (stored lowercase). | ||
| phone | No | Phone in E.164 format, e.g. +56912345678. | |
| gender | No | 0 = other, 1 = female, 2 = male. | |
| region | No | Region or state. On update, an empty string clears the stored value. | |
| address | No | Street address. On update, an empty string clears the stored value. | |
| district | No | District or neighborhood. On update, an empty string clears the stored value. | |
| birth_day | No | Day of birth, 1-31. | |
| last_name | No | Last name. On update, an empty string clears the stored value. | |
| birth_year | No | Year of birth. | |
| first_name | Yes | First name. | |
| birth_month | No | Month of birth, 1-12. | |
| custom_attributes | No | Custom attribute values to set. | |
| identification_number | No | National identification number (RUT, DNI, CURP...). On update, an empty string clears the stored value. |