Sending Messages
Send messages to a job in your workspace.
The send messages endpoint allows you to send new messages to a user's job in your workspace.
Endpoint
Method | Url |
---|---|
POST | /v1.0/jobs/{job_id}/messages |
Request Parameters
text
•
string
required
The message's text.
sender_user_id
•
string
required
ID of the user that is sending the message.
Sample Request
Copied1curl -X POST 'https://api.worklayer.com/v1.0/jobs/a439ddfa-6ba4-4b38-8cf0-5d09db1a0af4/messages' \2-H 'Authorization: Bearer {token}' \3-d '{ "text": "The text content", "sender_user_id": "95e6f305-913e-40ad-9c80-ede263670878" }'
Response
The response will contain the sent message's ID and creation time.
Sample Response
Copied1{2 "id": "6b3b0a1c-d45c-4323-8584-6f341dbd8be9",3 "create_time": "2025-07-15T15:18:00.701Z",4}
Errors
Forbidden
: API Client cannot send messages.Unauthorized
: API Client does not have valid credentials.BadRequest
: Either required properties are missing, or the request was malformed.
Last updated on July 15, 2025
Privacy PolicyTerms & Conditions© 2025 Taxfyle