Skip to main content
PATCH
Update a callback's status

Authorizations

Authorization
string
header
required

Project API key (sk_api_…).

Path Parameters

callbackId
string
required

Comes from the campaign's callbacks list. Ids embed # and the contact's +92… number, so the path must be percent-encoded: /campaigns/callbacks/9f4c2a1e-…%23%2B923001234567%23a1%23cb. Unique within the API key's project.

Body

application/json
status
enum<string>
required

done marks the request handled; open reopens it. Either direction is idempotent.

Available options:
open,
done

Response

The callback's status after the write.

callbackId
string

The path id, URL-decoded.

status
enum<string>
Available options:
open,
done