Insert consent records for multiple identifications in a single request. If the request fails, none or only some of the records may be inserted. Retry the batch later to try again.
project_id required | string The unique ID of the project. You can find this on the Sinch Dashboard. |
{- "app_id": "{{APP_ID}}",
- "consent_records": [
- {
- "identification": "{{PHONE_NUMBER_1}}",
- "consent_type": "OPT_OUT_ALL"
}, - {
- "identification": "{{PHONE_NUMBER_2}}",
- "consent_type": "OPT_OUT_MARKETING"
}, - {
- "identification": "{{PHONE_NUMBER_3}}",
- "consent_type": "OPT_OUT_NOTIFICATION"
}
]
}
{- "batch_id": "string"
}