Consent Update API

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

Account SID (Security Identifier). For more information, see View API Key and SID.

Body Params
string
required

Channel name for which you want to update the consent. Example - sms.

string
required

Inbound Sender ID. In case of SMS, it’s the short code for customers.

string
required

Contact identifier of the end-user or end-user's mobile number.

string
string
string
required

Source of the consent request or source of opt-in or opt-out. Example - API.

string

Unique identifier for the source request. Example - MO_id. The MO_id is the identifier stored on the SMS database.

date-time

Timestamp when the event occurred in ISO Date format (YYYY-MM-DDThh:mm:ss).

string
required
string

Inbound sender_id to which end-user is sending opt-in or opt-out message to. It will be the sender ID of the incoming MO.

string

Unique request ID from Kaleyra from where the consent API is triggered.

string

Callback URL to receive updates on processing.

Headers
string
required

API key generated from the Kaleyra platform account. For more information, see View API Key and SID.

Responses

Language
Credentials
Header
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json



© 2026 Kaleyra Inc. All rights reserved.
Trademarks, logos and service marks displayed on this site are registered and unregistered trademarks of Kaleyra Inc.