POST /agent_messages

Authorization Required
https://[your-subdomain].trackdrive.com/api/v1/agent_messages

Create Agent Message.

Sends a message that is broadcast asynchronously to the live agent widgets of the buyers, buyer groups, and call centers listed in buyer_ids, buyer_group_ids, and call_center_ids. If agent_status_id is set, it also updates the status shown for each matching agent. Requires administrator or manager level API access.

Params

Param name Description
content
Required

Content

  • Must be a String

agent_status_id
Optional Blank value allowed

Agent Status

buyer_ids
Optional Blank value allowed

Agents

  • Must be a valid array of integers. Each integer ID must be a valid foreign key reference to an Buyer. Refer to: /api/docs/1.0/buyers

buyer_group_ids
Optional Blank value allowed

Buyer Groups

call_center_ids
Optional Blank value allowed

Call Centers