Skip to main content

Service API v2.2.0

  • Added a new feature for setting custom agent properties. You can now pass in any custom property you want for an Agent and it will be saved in the Parley system.
  • Fixed an issue in the API documentation where the content type of the /services call was image/png and it should've been application/json

Custom agent properties

For example:
You can call POST /messages with

{
"agent": {
"uniqueIdentifier": "al601ncm5830c",
"name": "John",
"location": "Amsterdam",
"department": "Sales"
}
}

And when the Client makes an API call (using Client API v1.7) to get the messages using GET /messages, it will receive the custom agent attributes.