Agents Resource
Gets agent information about a particular person.
Last updated
Gets agent information about a particular person.
Gets all agents used by a single person.
const agent: Agent = {
objectType: "Agent",
name: "Test Agent",
mbox: "mailto:test@agent.com"
};
xapi.getAgent({
agent: agent
}).then((result: AxiosResponse<Person>) => {
const person: Person = result.data;
// do stuff with person
});Parameter
Type
Required
Description
useCacheBuster
boolean
false
Enables cache busting.
This method returns an AxiosPromise with the success data containing the Person if successful.
Last updated