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
contenttype of the/servicescall wasimage/pngand it should've beenapplication/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.