PUT
/
api
/
schedules
/
{scheduleId}
curl --request PUT \
  --url https://api.atendai.com/api/schedules/{scheduleId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "contactId": "<string>",
  "sendAt": "2023-11-07T05:31:56Z",
  "flow": [
    {
      "type": "message",
      "content": "<string>",
      "delay": "<string>",
      "fileName": "<string>"
    }
  ],
  "userId": "<string>",
  "flowId": "<string>"
}'
{
  "message": "<success message>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

scheduleId
string
required

The ID of the schedule to update

Body

application/json

Response

200
application/json
Successful response

The response is of type object.