curl --request POST \
--url https://api.projectcor.com/v1/tasks/{task_id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"attachments": [
{
"id": 123,
"name": "<string>",
"url": "<string>",
"type": "<string>",
"source": "<string>"
}
]
}
'curl --request POST \
--url https://api.projectcor.com/v1/tasks/{task_id}/messages \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"message": "<string>",
"attachments": [
{
"id": 123,
"name": "<string>",
"url": "<string>",
"type": "<string>",
"source": "<string>"
}
]
}
'