Conversation API//Consents
Consents
Conversation API | Sinch
Overview
Messages
Apps
Contacts
Conversations
Events
Transcode
Capability
Projects
Webhooks
Managing templates
Template Management API
Overview
Templates V2
Overview
Conversation API - Batch API | Sinch
Messages
Contacts
Consents
Conversation API callbacks
Webhook routing
Consent management
Metadata guide
Conversation OAS in JSON format
Templates OAS in JSON format
Batch OAS in JSON format
Consent queries provide a way to retrieve any identities stored within a given consent list. You can also retrieve audit records that provide details for a given identity's journey through consent management.
Get all identities contained within a consent list for a given project id, app id, and list type.
Security
Basic or oAuth2
The unique ID of the project. You can find this on the Sinch Dashboard.
The unique ID of the app. You can find this on the Sinch Dashboard.
The consent list type. One of OPT_OUT_ALL, OPT_OUT_MARKETING, and or OPT_OUT_NOTIFICATION.
| Enum Value | Description |
|---|---|
| OPT_OUT_ALL | List type that blocks all kinds of messages |
| OPT_OUT_MARKETING | List type that blocks only marketing messages |
| OPT_OUT_NOTIFICATION | List type that blocks only notification messages |
- https://us.conversation.api.sinch.comhttps://us.conversation.api.sinch.com/v1/projects/{project_id}/apps/{app_id}/consents/{list_type}
curl -i -X GET \
-u '<username>:<password>' \
'https://us.conversation.api.sinch.com/v1/projects/{project_id}/apps/{app_id}/consents/{list_type}?page_size=0&page_number=0&page_token=string'Response
{ "identities": [ { … } ], "next_page_token": "string" }