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

Create Custom Consent

POST
/customconsent

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 create a custom consent given consent details.

URL :#

https://connect.beetexting.com/pdc-prod/customconsent
(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 ********************
Header Params

Body Params application/json

Examples

Responses

🟢200Success
application/json
Body

Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/customconsent' \
--header 'x-api-key: HvG7OZaxgz3raDMzX9CYp9105hV9VwDa6zrCS234' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "title": "string",
    "description": "string",
    "restrictionType": "Valid values [ DISALLOW, SHOW_WARNING, NOSHOW ]",
    "active": true
}'
Response Response Example
{
    "title": "string",
    "description": "string",
    "restrictionType": "Valid values [ DISALLOW, SHOW_WARNING, NOSHOW ]",
    "active": true,
    "id": "string"
}
Modified at 2025-10-27 17:57:28
Previous
Update Contact
Next
Update Custom Consent
Built with