Skip to content
campaiDeveloper
campai.com

Crm ยท Contacts

POST/{organizationId}/{mandateId}/crm/contactMessages/{contactBulkMessageId}/retry

Retry contact message admission

Resume a failed native contact message from its saved cursor without recreating retained dispatches.

Permissions

Send an API key of the organization in the path, using the X-API-Key header.

Permission checks in detail
Required permissions
  • dispatchDocument.insert
  • mandate.read
Also checked, depending on the request and the records it touches
  • contact:member.read
  • contact:address.read
  • contact:customer.read
  • contact:sponsor.read
  • contact:contributor.read
  • contact:employee.read
  • contact:supplier.read

Request

Path parameters

  • organizationIdidrequired
  • mandateIdidrequired
  • contactBulkMessageIdidrequired

Body

Content-Type: application/json

  • expectedRevisionintegerrequired

    at least 0

Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/YOUR_MANDATE_ID/crm/contactMessages/YOUR_CONTACT_BULK_MESSAGE_ID/retry' \
  --header 'X-API-Key: YOUR_API_KEY'

No request that worked has been recorded yet, so the body is not shown.

Response

200 Successful response

No response body is specified.

Errors

No errors of its own are known for this endpoint.

Errors nearly every request can meet are listed under Errors.