Supported Formats

json

Errors

Code Description
401 Unauthorized

Params

Param name Description
token
required

Token obtained from /authorize

Validations:

  • Must be 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 Integer

message[receiver_id]
required

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

Validations:

  • Must be Integer

message[job_id]
required

ID of the Job to which this Message relates

Validations:

  • Must be Integer

message[body]
required

The text content of this Message

Validations:

  • Must be String

message[image_url]
optional

The URL of an image to accompany this Message

Validations:

  • Must be String

message[read_at]
optional

If read, when this message was read

Validations:

  • Must be DateTime