api.botsubscription.com
GET /v1/endpoint
Authentication Bearer
Token
Stays in this tab. Required for this endpoint — the value below is what gets sent.
Request GET Response —
cURL Node Python PHP Go Ruby
Copy curl --request GET \
--url https://api.botsubscription.com/v1/endpoint \
--header 'Authorization: Bearer sk_live_•••'— — · — · —
Response will appear here.
GET /v2/projects/ {project_id} /subscriptions/ {subscription_id} /cancel-options CopyTry it Authorization Bearer API Key Required
API key access: Unrestricted project key only.
Fetch the translated reason choices before cancelling a subscription . Labels follow Accept-Language, with English as the fallback. Send the selected code as reason_code on cancellation, or omit it when the member skips feedback.
Project API keys receive offers: []. Do not expect coupon codes or a member's return discount in this response. Configure the project's coupon separately with Set Return Offer .
The response advertises reason_text_max_length: 200 for displayed feedback. The cancellation request accepts up to 255 characters; keep member-facing input within the returned display limit.
Path Parameters Internal subscription UUID, not a membership or payment ID.
Query Parameters Selected reason from the cancellation reason list; omit for skipped feedback.
curl -X GET "https://api.botsubscription.com/v2/projects/11111111-1111-4111-8111-111111111111/subscriptions/22222222-2222-4222-8222-222222222222/cancel-options" \
-H "Authorization: Bearer YOUR_API_KEY" Success application/json
{
"ok" : true ,
"request_id" : "44444444-4444-4444-8444-444444444444" ,
"method" : "GET" ,
"path" : "/v2/projects/11111111-1111-4111-8111-111111111111/subscriptions/22222222-2222-4222-8222-222222222222/cancel-options" ,
"code" : 200 ,
"data" : {
"reasons" : [
{
"code" : "too_expensive" ,
"label" : "Too expensive"
},
{
"code" : "not_using_enough" ,
"label" : "Not using it enough"
},
{
"code" : "missing_features" ,
"label" : "Missing features"
},
{
"code" : "technical_problems" ,
"label" : "Technical problems"
},
{
"code" : "switching" ,
"label" : "Switching to something else"
},
{
"code" : "other" ,
"label" : "Other"
}
],
"reason_text_max_length" : 200 ,
"offers" : []
}
} UNAUTHORIZED application/json
{
"ok" : false ,
"request_id" : "44444444-4444-4444-8444-444444444444" ,
"method" : "GET" ,
"path" : "/v2/projects/11111111-1111-4111-8111-111111111111/subscriptions/22222222-2222-4222-8222-222222222222/cancel-options" ,
"code" : 401 ,
"error" : {
"error_code" : "UNAUTHORIZED" ,
"message" : "Invalid or expired authentication token."
}
} FORBIDDEN application/json
{
"ok" : false ,
"request_id" : "44444444-4444-4444-8444-444444444444" ,
"method" : "GET" ,
"path" : "/v2/projects/11111111-1111-4111-8111-111111111111/subscriptions/22222222-2222-4222-8222-222222222222/cancel-options" ,
"code" : 403 ,
"error" : {
"error_code" : "FORBIDDEN" ,
"message" : "Access is not permitted."
}
} NOT_FOUND application/json
{
"ok" : false ,
"request_id" : "44444444-4444-4444-8444-444444444444" ,
"method" : "GET" ,
"path" : "/v2/projects/11111111-1111-4111-8111-111111111111/subscriptions/22222222-2222-4222-8222-222222222222/cancel-options" ,
"code" : 404 ,
"error" : {
"error_code" : "NOT_FOUND" ,
"message" : "Resource not found."
}
} VALIDATION_ERROR application/json
{
"ok" : false ,
"request_id" : "44444444-4444-4444-8444-444444444444" ,
"method" : "GET" ,
"path" : "/v2/projects/11111111-1111-4111-8111-111111111111/subscriptions/22222222-2222-4222-8222-222222222222/cancel-options" ,
"code" : 422 ,
"error" : {
"error_code" : "VALIDATION_ERROR" ,
"message" : "Invalid request parameters."
}
} See the project API authentication rules for shared request and retry behavior.
Last updated: November 17, 2026