curl --request GET \
--url https://api.atendai.com/api/schedules \
--header 'Authorization: Bearer <token>'{
"schedules": [
{
"id": "<string>",
"flow": [
{
"type": "message",
"content": "<string>",
"delay": "<string>",
"fileName": "<string>"
}
],
"sendAt": "2023-11-07T05:31:56Z",
"sentAt": "2023-11-07T05:31:56Z",
"contactId": "<string>",
"ticketId": "<string>",
"userId": "<string>",
"status": "<string>",
"companyId": "<string>",
"flowId": "<string>",
"sequenceId": "<string>",
"sequenceStageId": "<string>",
"whatsappId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"contact": {
"id": "<string>",
"name": "<string>",
"number": "<string>",
"email": "<string>",
"profilePicUrl": "<string>",
"isGroup": true,
"isAdmin": true,
"isOpen": true,
"isBotEnabled": true,
"utmCampaign": "<string>",
"utmContent": "<string>",
"utmMedium": "<string>",
"utmSource": "<string>",
"utmTerms": "<string>",
"active": true,
"channel": "<string>",
"whatsappId": "<string>",
"companyId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"user": {
"id": "<string>",
"name": "<string>"
},
"typebotFlow": "<string>"
}
]
}curl --request GET \
--url https://api.atendai.com/api/schedules \
--header 'Authorization: Bearer <token>'{
"schedules": [
{
"id": "<string>",
"flow": [
{
"type": "message",
"content": "<string>",
"delay": "<string>",
"fileName": "<string>"
}
],
"sendAt": "2023-11-07T05:31:56Z",
"sentAt": "2023-11-07T05:31:56Z",
"contactId": "<string>",
"ticketId": "<string>",
"userId": "<string>",
"status": "<string>",
"companyId": "<string>",
"flowId": "<string>",
"sequenceId": "<string>",
"sequenceStageId": "<string>",
"whatsappId": "<string>",
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z",
"contact": {
"id": "<string>",
"name": "<string>",
"number": "<string>",
"email": "<string>",
"profilePicUrl": "<string>",
"isGroup": true,
"isAdmin": true,
"isOpen": true,
"isBotEnabled": true,
"utmCampaign": "<string>",
"utmContent": "<string>",
"utmMedium": "<string>",
"utmSource": "<string>",
"utmTerms": "<string>",
"active": true,
"channel": "<string>",
"whatsappId": "<string>",
"companyId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>"
},
"user": {
"id": "<string>",
"name": "<string>"
},
"typebotFlow": "<string>"
}
]
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
ID do contato.
ID do usuário.
Parâmetro de busca.
Número da página.
Successful response
Show child attributes
ID of the schedule
Flow of content to be sent
Show child attributes
Type of content in the flow
message, image, video, file, audio Content URL
Delay in seconds before sending this content
Name of the file (nullable)
Date and time at which the schedule is to be sent
Date and time at which the schedule was sent (nullable)
ID of the associated contact
ID of the associated ticket (nullable)
ID of the user who created the schedule
Status of the schedule
ID of the company associated with the schedule
ID of the associated flow (nullable)
ID of the associated sequence (nullable)
ID of the associated sequence stage (nullable)
ID of the associated WhatsApp connection
Date and time at which the schedule was created
Date and time at which the schedule was last updated
Information about the associated contact
Show child attributes
Typebot flow associated with the schedule (nullable)