PATCH /api/v2/subscriptions/agent_status/{id}
Updates an agent status event subscription by id.
Added on May 7th, 2021 for API v2.
Requires a company admin API key.
Rate limit: 1200 per minute.
Servers
- https://dialpad.com/
- https://sandbox.dialpad.com/
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The event subscription's ID, which is generated after creating an event subscription successfully. |
Request headers
Name | Type | Required | Description |
---|---|---|---|
Content-Type |
String | Yes |
The media type of the request body.
Default value: "application/json" |
Request body fields
Name | Type | Required | Description |
---|---|---|---|
endpoint_id |
Integer | No |
The logging endpoint's ID, which is generated after creating a webhook or websocket successfully. If you plan to pair this event subscription with another logging endpoint, please provide a valid webhook ID here. |
enabled |
Boolean | No |
Whether or not the this agent status event subscription is enabled. Default value: true |
agent_type |
String | No |
The agent type this event subscription subscribes to. Possible values:
Default value: "callcenter" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.