Supported Formats

json

Errors

Code Description
401 Unauthorized

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be a String

message
required

An In-app Message

Validations:

  • Must be a Hash

message[sender_id]
required

User ID of sender of this Message. Can be a Wonoloer or a Requestor

Validations:

  • Must be a Integer

message[receiver_id]
required

User ID of recipient of this Message. Can be a Wonoloer or a Requestor

Validations:

  • Must be a Integer

message[job_id]
required

ID of the Job to which this Message relates

Validations:

  • Must be a Integer

message[body]
required

The text content of this Message

Validations:

  • Must be a String

message[image_url]
optional

The URL of an image to accompany this Message

Validations:

  • Must be a String

message[read_at]
optional

If read, when this message was read

Validations:

  • Must be a DateTime