For Developers

Get Agent

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

Retrieve information about a specific Agent that the current user is associated with.

Request Parameters

ParameterTypeDescription
agent_idstringThe UUID of the desired Agent.

Sample Request

axios.get('https://ed.link/api/v2/my/agents/0a5c73b7-ef15-40e2-9295-8540914db235', {
    headers: {
        authorization: `Bearer ${person_access_token}`
    }
});

Sample Response

{
    "$data": {
        "id": "0a5c73b7-ef15-40e2-9295-8540914db235",
        "created_date": "2023-04-25T16:46:09.601Z",
        "updated_date": "2023-04-25T16:46:09.601Z",
        "relationship": "mother",
        "flags": ["emergency_contact", "pickup_rights", "legal_guardian", "access_to_records"],
        "observer_id": "725b31b5-8563-4b51-8df8-419b222e1779",
        "target_id": "787d717b-e57b-4f81-81eb-6cb2450728c9",
        "properties": {},
        "identifiers": []
    },
    "$request": "00000000-0000-0000-0000-000000000000"
}