Publish Thread Schedule
Publishes the scheduled thread. The draft thread is turned into a reply/forward thread, and the message is sent to the customer.
There’s no need to manually publish schedules unless the intent is to send them sooner than they’re originally scheduled for.
Request
PATCH /v2/conversations/99/threads/500/schedule HTTP/1.1
Authorization: Bearer oauth_token
Content-Type: application/json
{
"op" : "replace",
"path" : "/state",
"value" : "published"
}
Path Parameters
/v2/conversations/{conversationId}/threads/{threadId}/schedule
Request fields
Path | Type | Required | Description |
---|---|---|---|
op |
String |
Y | Patch operation to be carried out, must be: ‘replace’ |
path |
String |
Y | Path of the value to be changed, must be: ‘/state’ |
value |
String |
Y | Value to be used in operation, must be: ‘published’ |
Response
HTTP/1.1 204 No Content