Skip to main content
POST
/
projects
/
{id}
/
messages
Post project message
curl --request POST \
  --url https://api.projectcor.com/v1/projects/{id}/messages \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/x-www-form-urlencoded' \
  --data 'message=<string>' \
  --data '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.

Path Parameters

id
integer
required

Body

application/x-www-form-urlencoded
message
string
required

Text Message

attachments
object[]

Optional attachments

Response

200

Message posted successfully