| Method |
URL |
Parameter |
Required |
Description |
| POST |
/api |
token |
Yes |
Access token from Sites section |
| type |
Yes |
Type of action. Can be: «new_client», «service_paid» |
| If type is «new_client» |
| name |
Yes |
Client name |
| surname |
No |
Client surname |
| email |
No |
Client email |
| phone |
No |
Client phone |
| message |
No |
Client history message |
| service_name |
No |
Client service name |
| service_address |
No |
Client service address |
| service_note |
No |
Client service note |
| service_type |
No |
Client service type |
| extra |
No |
JSON object that contains parameters «estimate_summ» (Budget summ) and «external_id» (Id of external record) |
| If type is «service_paid» |
| paid_summ |
No |
Service amount of paid summ |
| external_id |
No |
Id of external record |
Was this article helpful to you?
Yes
No