For Developers

List Agents

GET https://ed.link/api/v2/my/agents

Retrieve a list of Agents that the current user is associated with. This includes all agent relationships in which the current user is the observer or the target.

Request Parameters

This query allows for standard paging parameters.

This query allows for filtering results.

Sample Request

axios.get('https://ed.link/api/v2/my/agents', {
    headers: {
        authorization: `Bearer ${person_access_token}`
    }
});

Sample Response

{
    "$data": [
        {
            "id": "00000000-0000-0000-0000-000000000000",
            "relationship": "parent",
            "properties": {},
            "observer_id": "00000000-0000-0000-0000-000000000000",
            "target_id": "00000000-0000-0000-0000-000000000000"
        }
    ],
    "$request": "00000000-0000-0000-0000-000000000000"
}