POST /api_v2/messages
Create a Message
Supported Formats
jsonErrors
Code | Description |
---|---|
401 | Unauthorized |
Params
Param name | Description |
---|---|
token
required |
Token obtained from /authorize Validations:
|
message
required |
An In-app Message Validations:
|
message[sender_id]
required |
User ID of sender of this Message. Can be a Wonoloer or a Requestor Validations:
|
message[receiver_id]
required |
User ID of recipient of this Message. Can be a Wonoloer or a Requestor Validations:
|
message[job_id]
required |
ID of the Job to which this Message relates Validations:
|
message[body]
required |
The text content of this Message Validations:
|
message[image_url]
optional |
The URL of an image to accompany this Message Validations:
|
message[read_at]
optional |
If read, when this message was read Validations:
|