List all agents

This API helps you to list all agents.

HTTP Request
/wp-json/supportcandy/v2/agents
Available parameters
Parameter Type Description
page integer Current page of the collection. Default is 1.
per_page integer Maximum number of items to be returned in result set. Default is 20.
search string Limit results to those matching a string.
Example

curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/agents?page=1&per_page=20&search=' \ --header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='

Get single agent

This API helps you to list a single agent.

HTTP Request
/wp-json/supportcandy/v2/agents/<id>
Example

curl --location --request GET 'http://localhost/wp-json/supportcandy/v2/agents/1' \ --header 'Authorization: Basic YWRtaW46bjVJWSBYc3pUIGlxN3MgSHhKWCA3YVdBIDlOblI='

What are your feelings