curl --request POST \
--url https://api.datacrazy.io/v1/api/api/v1/conversations/{id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body": "Como posso ajudar?",
"repliedMessageId": "48592f2a95hn298e5c872b1",
"scheduledDate": "2023-11-07T05:31:56Z",
"isInternal": true
}'
{
"id": "68597f2a95fb0298e5c128b5",
"conversationId": "34523f427033710f15389a18c",
"createdAt": "2025-06-25T18:03:37.292Z",
"updatedAt": "2025-11-07T22:05:15.754Z",
"deletedAt": "2025-08-12T22:10:09.541Z",
"body": "Bom dia!",
"received": true,
"attachments": [
{
"id": "685c39fcc2523944ecd171f7",
"createdAt": "2025-06-25T18:03:40.172Z",
"updatedAt": "2025-06-25T18:03:40.172Z",
"deletedAt": "2025-06-25T18:03:40.172Z",
"fileName": "my-product-175087",
"mimeType": "image/jpeg",
"url": "https://dc-qqqq2222pb.s3.amazonaws.com/d129a692-e5ab-42b3-b0e4-90ad9a12b068/f514f655-4897-416e-b5c1-bbc19aac0805",
"type": "IMAGE",
"size": "7642"
}
],
"vcard": [
{
"id": "685c4fb6f3dbb11ae1d1b641",
"createdAt": "2025-01-27T17:13:32.206Z",
"updatedAt": "2025-01-27T17:33:49.092Z",
"deletedAt": "2025-01-27T17:13:32.266Z",
"name": "Guilherme Gavazzoni",
"organization": "CRM Datacrazy",
"phones": [
"5541991331190",
"554733672094"
],
"emails": [
"lead@gmail.com",
"suporte@gmail.com"
],
"addresses": [
"Av. Paulista, 1578 - Bela Vista, São Paulo - SP, 01310-200"
],
"url": "www.google.com.br",
"birthday": "12//07/1984",
"note": "Esse é o contato dele!"
}
],
"location": {
"latitude": -23.55052,
"longitude": -46.633308,
"address": "Av. Paulista, 1578 - Bela Vista, São Paulo - SP, 01310-200",
"name": "Escritório Central",
"caption": "Localização do negócio"
},
"status": "RECEIVED",
"contact": {
"id": "6808cd89c9968a7b8a41b9f7",
"createdAt": "2024-12-19T14:21:42.164Z",
"updatedAt": "2025-06-24T16:28:23.703Z",
"name": "Angelica Schramm",
"imageURL": "https://dc-qqqq2222pb.s3.amazonaws.com/0a7ac87c-2f50-46b5-9c39-80ffec53e633/df4db2b8-7f0f-44d4-88e1-dd3e838f275e",
"contactId": "5547988367066",
"platform": "WHATSAPP",
"externalId": "1c3627f8-d6b9-42a9-b355-6977c04c969e",
"accountName": "@AngelicaSchramm",
"pending": true,
"externalInfo": {
"tagIds": [
"849fefab-e697-4720-9303-e788c23790cc",
"9e008d34-86d2-49fd-90af-34a9f9b29896"
],
"stageIds": [
"6fda2a0d-5e7c-4c51-bf47-2c60f7d34283",
"2bc3d979-93a4-4e64-8903-5d9379d3de91"
],
"pipelineIds": [
"3e409b29-0462-40b0-aef4-5eb6f0f2f89a",
"74c8e833-f681-4ed0-9ce6-e474e2d4b1a0"
]
}
},
"attendants": [
{
"userId": "t9kn9mqPakdGG535GQK3hod8wzM2",
"id": "6807e48c25ece34f9f1ba7dd",
"name": "Joao Silva",
"email": "joaosilva@gmail.com",
"phone": "55 47 991331190",
"imageURL": "https://dc-qqqq1111pb.s3.amazonaws.com/profiles/koQGLa8p68fNZiiSmE1tec2LHtc2_2025-05-24T00%3A27%3A23.486Z"
}
],
"erroCode": "402",
"errorMessage": "O token utilizado está expirado",
"header": "Boa tarde!",
"footer": "Obrigado",
"buttons": [
{
"id": "3d99cda4-62dc-4b9f-9c6c-124f1966b26a ",
"name": "Opção um",
"description": "Opcao para contatar o suporte",
"url": "www.google.com.br"
}
],
"repliedMessage": {},
"repliedMessageAttachment": {
"id": "685c39fcc2523944ecd171f7",
"createdAt": "2025-06-25T18:03:40.172Z",
"updatedAt": "2025-06-25T18:03:40.172Z",
"deletedAt": "2025-06-25T18:03:40.172Z",
"fileName": "my-product-175087",
"mimeType": "image/jpeg",
"url": "https://dc-qqqq2222pb.s3.amazonaws.com/d129a692-e5ab-42b3-b0e4-90ad9a12b068/f514f655-4897-416e-b5c1-bbc19aac0805",
"type": "IMAGE",
"size": "7642"
},
"edited": true,
"deleted": true,
"forwarded": false,
"forward": {},
"isScheduled": true,
"scheduledDate": "2025-11-07T22:05:15.754Z",
"signature": "Joao da Silva",
"isInternal": true,
"interpretedContentPending": true,
"interpretedContent": "<string>"
}
curl --request POST \
--url https://api.datacrazy.io/v1/api/api/v1/conversations/{id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{
"body": "Como posso ajudar?",
"repliedMessageId": "48592f2a95hn298e5c872b1",
"scheduledDate": "2023-11-07T05:31:56Z",
"isInternal": true
}'
{
"id": "68597f2a95fb0298e5c128b5",
"conversationId": "34523f427033710f15389a18c",
"createdAt": "2025-06-25T18:03:37.292Z",
"updatedAt": "2025-11-07T22:05:15.754Z",
"deletedAt": "2025-08-12T22:10:09.541Z",
"body": "Bom dia!",
"received": true,
"attachments": [
{
"id": "685c39fcc2523944ecd171f7",
"createdAt": "2025-06-25T18:03:40.172Z",
"updatedAt": "2025-06-25T18:03:40.172Z",
"deletedAt": "2025-06-25T18:03:40.172Z",
"fileName": "my-product-175087",
"mimeType": "image/jpeg",
"url": "https://dc-qqqq2222pb.s3.amazonaws.com/d129a692-e5ab-42b3-b0e4-90ad9a12b068/f514f655-4897-416e-b5c1-bbc19aac0805",
"type": "IMAGE",
"size": "7642"
}
],
"vcard": [
{
"id": "685c4fb6f3dbb11ae1d1b641",
"createdAt": "2025-01-27T17:13:32.206Z",
"updatedAt": "2025-01-27T17:33:49.092Z",
"deletedAt": "2025-01-27T17:13:32.266Z",
"name": "Guilherme Gavazzoni",
"organization": "CRM Datacrazy",
"phones": [
"5541991331190",
"554733672094"
],
"emails": [
"lead@gmail.com",
"suporte@gmail.com"
],
"addresses": [
"Av. Paulista, 1578 - Bela Vista, São Paulo - SP, 01310-200"
],
"url": "www.google.com.br",
"birthday": "12//07/1984",
"note": "Esse é o contato dele!"
}
],
"location": {
"latitude": -23.55052,
"longitude": -46.633308,
"address": "Av. Paulista, 1578 - Bela Vista, São Paulo - SP, 01310-200",
"name": "Escritório Central",
"caption": "Localização do negócio"
},
"status": "RECEIVED",
"contact": {
"id": "6808cd89c9968a7b8a41b9f7",
"createdAt": "2024-12-19T14:21:42.164Z",
"updatedAt": "2025-06-24T16:28:23.703Z",
"name": "Angelica Schramm",
"imageURL": "https://dc-qqqq2222pb.s3.amazonaws.com/0a7ac87c-2f50-46b5-9c39-80ffec53e633/df4db2b8-7f0f-44d4-88e1-dd3e838f275e",
"contactId": "5547988367066",
"platform": "WHATSAPP",
"externalId": "1c3627f8-d6b9-42a9-b355-6977c04c969e",
"accountName": "@AngelicaSchramm",
"pending": true,
"externalInfo": {
"tagIds": [
"849fefab-e697-4720-9303-e788c23790cc",
"9e008d34-86d2-49fd-90af-34a9f9b29896"
],
"stageIds": [
"6fda2a0d-5e7c-4c51-bf47-2c60f7d34283",
"2bc3d979-93a4-4e64-8903-5d9379d3de91"
],
"pipelineIds": [
"3e409b29-0462-40b0-aef4-5eb6f0f2f89a",
"74c8e833-f681-4ed0-9ce6-e474e2d4b1a0"
]
}
},
"attendants": [
{
"userId": "t9kn9mqPakdGG535GQK3hod8wzM2",
"id": "6807e48c25ece34f9f1ba7dd",
"name": "Joao Silva",
"email": "joaosilva@gmail.com",
"phone": "55 47 991331190",
"imageURL": "https://dc-qqqq1111pb.s3.amazonaws.com/profiles/koQGLa8p68fNZiiSmE1tec2LHtc2_2025-05-24T00%3A27%3A23.486Z"
}
],
"erroCode": "402",
"errorMessage": "O token utilizado está expirado",
"header": "Boa tarde!",
"footer": "Obrigado",
"buttons": [
{
"id": "3d99cda4-62dc-4b9f-9c6c-124f1966b26a ",
"name": "Opção um",
"description": "Opcao para contatar o suporte",
"url": "www.google.com.br"
}
],
"repliedMessage": {},
"repliedMessageAttachment": {
"id": "685c39fcc2523944ecd171f7",
"createdAt": "2025-06-25T18:03:40.172Z",
"updatedAt": "2025-06-25T18:03:40.172Z",
"deletedAt": "2025-06-25T18:03:40.172Z",
"fileName": "my-product-175087",
"mimeType": "image/jpeg",
"url": "https://dc-qqqq2222pb.s3.amazonaws.com/d129a692-e5ab-42b3-b0e4-90ad9a12b068/f514f655-4897-416e-b5c1-bbc19aac0805",
"type": "IMAGE",
"size": "7642"
},
"edited": true,
"deleted": true,
"forwarded": false,
"forward": {},
"isScheduled": true,
"scheduledDate": "2025-11-07T22:05:15.754Z",
"signature": "Joao da Silva",
"isInternal": true,
"interpretedContentPending": true,
"interpretedContent": "<string>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.