For Developers

Get Integration

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

Retrieve the Integration that the current user belongs to. This endpoint can be used to determine an integration_id from a bearer token.

Sample Request

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

Sample Response

{
    "$data": {
        "state": "active",
        "created_date": "2023-02-02T21:56:23.256Z",
        "updated_date": "2024-06-20T18:20:59.802Z",
        "permissions": [
            "796d4633-c262-49d4-8e5c-b801a6a1c053",
            "a4517daf-facc-4baf-8172-50ef5b550107",
            "4db0b9f7-bdd1-4908-9d6f-7b6d94155bd3",
            "d41c7607-0e2c-4a3a-9769-958878491ae2",
            "066bdbdb-0c97-42a3-9fec-64340bd71f89"
        ],
        "district_sharing": "all",
        "developer_sharing": "all",
        "district_licensing_enabled": false,
        "start_date": null,
        "end_date": null,
        "application_id": "36ad8864-d789-45b6-9df8-334c2f32445b",
        "source_id": "09148762-3ae2-4249-a456-81bde95219a5",
        "destination_id": null,
        "region_id": "8c5475f1-32d3-479d-8a6a-3c6b6e524f49",
        "id": "70c19f5c-495b-482f-9292-cd345e2b077b"
    },
    "$request": "00000000-0000-0000-0000-000000000000"
}