SendApp Docs
Log in

Change the settings

PATCH https://app.sendapp.ai/api/voice/config
Changes the Voice AI settings of one assistant, like the Voice AI page. Send only the fields that change: the ones you leave out stay as they are. It applies from the next calls.
Only the fields you send are checked: a field you leave out stays as it is. A field sent empty on purpose, for example "language": "", answers 422.
Only these fields can be changed: any other field (for example recording or the line's data) answers 422.
With an expired plan the change is refused with 403 and code: plan_expired. Limit: 30 changes a minute per key.
Common errors: 401 API key missing or wrong — 403 plan without API access or without Voice AI, Voice AI app switched off, account suspended — 404 call or assistant that does not exist or is not yours — 422 invalid parameters — 429 too many requests: try again after the seconds given in Retry-After.

Parameters

8 · 2 required
apikey required
Your API Key (the X-API-Key header also works).
assistant_id required
The assistant (assistant_id from List voice assistants).
language optional
Language: it, en, es, fr, de, pt.
voice_id optional
The voice (as in voice_id of the settings).
voice_label optional
The name shown for the voice.
first_message optional
What the assistant says when it answers (max 500 characters).
system_prompt optional
The instructions for the phone assistant (max 4000 characters).
greet_caller_by_name optional
true to greet by name callers already in your contacts.
Need help with the integration? info@sendapp.live