Agent
Get All Agents
GET
https://widget.blinger.io/api/external/v1/agents
This endpoint allows you to get free cakes.
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token. |
Get Agent
GET
https://widget.blinger.io/api/external/v1/agents/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the agent. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token. |
Create Agent
POST
https://widget.blinger.io/api/external/v1/agents
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token. |
Request Body
Name | Type | Description |
---|---|---|
active | boolean | Is agent active or not. |
serviceUserId | string | Simple string identificates your service. |
name | string | Agent's Name. |
avatar | string | Url of the Agent's Avatar. |
status | string | Status of the agent. Possible values: offline or online. |
Update agent
PUT
https://widget.blinger.io/api/external/v1/agents/:id
Path Parameters
Name | Type | Description |
---|---|---|
id | string | ID of the agent. |
Headers
Name | Type | Description |
---|---|---|
Authorization | string | Authorization token. |
Request Body
Name | Type | Description |
---|---|---|
active | boolean | Is agent active or not. |
serviceUserId | string | Simple string identificates your service. |
name | string | Agent's Name. |
avatar | string | Url of the Agent's Avatar. |
status | string | Status of the agent. Possible values: offline or online. |
Last updated