Skip to main content
POST
/
tasks
/
{task_id}
/
messages
Post task message
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>"
    }
  ]
}
'

Authorizations

Authorization
string
header
required

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

Body

application/json
message
string
required

Text Message

attachments
object[]

Optional attachments

Response

200

Message posted successfully