v1
latestOpenAPI 3.0.02026-07-2411724301.7 KBThe Kaleyra platform allows you to extract end-users' mobile numbers based on specific filters provided in the request and retrieve their corresponding consent data.
Path parameters
Account SID (Security Identifier). For more information, see View API Key and SID.
Query parameters
Channel name for which you want to update the consent. Example - sms.
The statuses that will be returned in the response. Example,<br> -1 - Number Not Found in database <br> 0 - Opt-out <br> 1 - OPT_IN <br> 2 - Deactivated.
The start date from which you want to list the consent record in (YYYY-MM-DD) format.
The end date up to which you want to list the consent record in (YYYY-MM-DD) format.
Message category, like marketing or promotional, for which consent is given or revoked.
Sort order in ascending order or descending order.
Page number for pagination.
Number of records per page.
Field to sort by. Example, created_at.
Sender ID used to send the message.
specific contact to fetch for or the end-user's mobile number.
Headers
API key generated from the Kaleyra platform account. For more information, see View API Key and SID.
Response
OK