Agent Phone Plan
Submit Cancellation Feedback
Answer the optional Agent Phone Plan offboarding survey after you’ve canceled.
POST
/
billing
/
cancel_agent_phone
/
feedback
curl -X POST https://api.bland.ai/billing/cancel_agent_phone/feedback \
-H "authorization: <org-api-key>" \
-H "Content-Type: application/json" \
-d '{
"feedback": {
"use_cases": ["texting", "other"],
"use_case_other": "Screening spam calls",
"reason": "short_term",
"stay_suggestion": "A way to pause the plan"
}
}'
{
"data": { "submitted": true },
"errors": null
}
{
"data": null,
"errors": [
{
"error": "BAD_REQUEST",
"message": "feedback must answer at least one question."
}
]
}
{
"data": null,
"errors": [
{
"error": "CONFLICT",
"message": "This organization has no canceled Agent Phone Plan to leave feedback on."
}
]
}
Overview
Sends answers to the offboarding survey after you’ve canceled the Agent Phone Plan without them. The questions and allowed answers are the same ones the cancel returns ascancellation_survey. Sending answers again replaces your earlier ones.
This works only after a cancel. An organization whose plan is still active, or that never had one, gets 409 CONFLICT.
Requires an organization API key that belongs to an admin or owner of the organization.
Headers
string
required
Your organization API key.
Body Parameters
object
required
Your answers. Every field is optional, but at least one must have an answer.
Show properties
Show properties
string[]
What the plan was mainly used for. Any of
answering_calls, booking_appointments, outbound_calls, texting, testing, other.string
What else it was used for, when
use_cases includes other. Up to 500 characters.string
The main reason for canceling. One of
too_expensive, not_used_enough, did_not_work, switching_service, short_term, other.string
The service you’re switching to (with
switching_service), or the reason (with other). Up to 500 characters.string
What would have made you stay. Up to 500 characters.
Response
boolean
true once your answers are saved.null | array
null on success.curl -X POST https://api.bland.ai/billing/cancel_agent_phone/feedback \
-H "authorization: <org-api-key>" \
-H "Content-Type: application/json" \
-d '{
"feedback": {
"use_cases": ["texting", "other"],
"use_case_other": "Screening spam calls",
"reason": "short_term",
"stay_suggestion": "A way to pause the plan"
}
}'
{
"data": { "submitted": true },
"errors": null
}
{
"data": null,
"errors": [
{
"error": "BAD_REQUEST",
"message": "feedback must answer at least one question."
}
]
}
{
"data": null,
"errors": [
{
"error": "CONFLICT",
"message": "This organization has no canceled Agent Phone Plan to leave feedback on."
}
]
}
Was this page helpful?
⌘I
curl -X POST https://api.bland.ai/billing/cancel_agent_phone/feedback \
-H "authorization: <org-api-key>" \
-H "Content-Type: application/json" \
-d '{
"feedback": {
"use_cases": ["texting", "other"],
"use_case_other": "Screening spam calls",
"reason": "short_term",
"stay_suggestion": "A way to pause the plan"
}
}'
{
"data": { "submitted": true },
"errors": null
}
{
"data": null,
"errors": [
{
"error": "BAD_REQUEST",
"message": "feedback must answer at least one question."
}
]
}
{
"data": null,
"errors": [
{
"error": "CONFLICT",
"message": "This organization has no canceled Agent Phone Plan to leave feedback on."
}
]
}