For Developers

Create Extraction

POST https://ed.link/api/v2/teams/:team_id/sources/:source_id/extractions

Spawns a new extraction job to scrape upstream provider data.

Permissions

Requires the extractions.create system permission.

Parameters

ParameterTypeRequiredDescription
:team_idUUIDYesThe ID of the team.
:source_idUUIDYesThe ID of the source.

Sample Request

const response = await axios.post(
    `https://ed.link/api/v2/teams/${team_id}/sources/${source_id}/extractions`,
    {},
    {
        headers: {
            authorization: `Bearer ${user_session_token}`
        }
    }
);

Sample Response

{
    "$data": {
        "status": "working",
        "source": {
            "id": "7b5a19cb-9ea8-4b71-9b16-564ec5ea0b12"
        }
    }
}