Phone.com Connect OpenAPI
Beetexting and Phone.com App
  1. Consent
  • Getting Started
  • OAuth 2.0 for Phone.com
  • Postman How-to for Phone.com OpenAPIs
  • Zapier How-to for Phone.com OpenAPIs
  • FAQ
  • APIs
    • Message API
      • Send SMS
      • Send MMS
    • Contacts
      • Get All Contacts in an Org
      • Find contact using Mobile number
      • Search a contact using Number
      • Create or Update Contact
      • Update contact using Mobile number
      • Update Contact
    • Consent
      • Create Custom Consent
        POST
      • Update Custom Consent
        PUT
      • Get Custom Consent Details Using ID
        GET
      • Get All Custom Consents
        GET
      • Change Custom Consent Status by Id
        POST
      • Add or Remove Custom Consent Type
        POST
    • Webhook Subscriptions API
      • Get All Subscriptions
      • Create or Update Subscription
    • Sites API
      • Get Sites
  1. Consent

Change Custom Consent Status by Id

POST
/customconsent/{customConsentId}/change

Description :#

Custom Consent is voluntary permission given by a customer to a sender to receive commercial SMS/MMS related to a specific product, service, or purpose. This API helps change Custom Consent Active status by Id.

URL :#

https://connect.beetexting.com/pdc-prod/customconsent/6890b1408f412234d99c8e13/change
(While sending the request please make sure to append https://connect.beetexting.com/pdc-prod if the url in the cUrl command starts with /message ...)
**Note : To add the OAuth2.0 Auth Token please see the section 'OAuth2.0 For Phone.com' and 'Postman How-to for Phone.com section'

Request

Authorization
Add the parameter
Authorization
to Headers
,whose value is to concatenate the Token after the Bearer.
Example:
Authorization: Bearer ********************
Path Params

Query Params

Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/customconsent//change?status=true' \
--header 'x-api-key: HvG7OZaxgz3raDMzX9CYp9105hV9VwDa6zrCS234' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{}'
Response Response Example
{
    "title": "string",
    "description": "string",
    "restrictionType": "Valid values [ DISALLOW, SHOW_WARNING, NOSHOW ]",
    "active": true,
    "id": "string"
}
Modified at 2025-10-27 17:58:55
Previous
Get All Custom Consents
Next
Add or Remove Custom Consent Type
Built with