Skip to content
campaiDeveloper
campai.com

Crm ยท Social posts

POST/{organizationId}/crm/communication/socialPosts/{postId}/deliveries/{accountId}/dismiss

Dismiss delivery problem

Marks a failed or unconfirmed publication on one account as checked so it no longer counts as a problem. It takes organizationId, postId, and accountId, and returns postId. The publication keeps its status and remains in the history.

Permissions

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

Who may call it

  • The caller must have organization access and the social.edit permission.

Request

Path parameters

  • organizationIdidrequired
  • postIdidrequired
  • accountIdidrequired
Request
curl --fail-with-body --silent --show-error --max-time 30 --globoff \
  --request POST 'https://cloud.campai.com/api/YOUR_ORGANIZATION_ID/crm/communication/socialPosts/YOUR_POST_ID/deliveries/YOUR_ACCOUNT_ID/dismiss' \
  --header 'X-API-Key: YOUR_API_KEY'

Response

200 Successful response

Content-Type: application/json

  • postIdid
Response200
{
  "postId": "000000000000000000000001"
}

What else happens

  • Sets acknowledgedAt on the matching delivery in socialPosts.
  • When no dismissible problems remain, matching post notifications are deleted if any exist.
  • When cleared notifications include unread ones, their users' notification watch counters are updated.

Errors

Other errors

StatusErrorWhen
409This problem can no longer be marked as checked. Refresh its status.Returns 409 CONFLICT with key socialPost.deliveryNotDismissable if the post and account do not match an unchecked failed or unconfirmed delivery.

Errors nearly every request can meet are listed under Errors.