Ingest URLs via webhook
POST
/api/v1/webhooks/{token}/ingest
const url = 'https://dashboard.justcrawl.io/api/v1/webhooks/example/ingest';const options = { method: 'POST', headers: {'Content-Type': 'application/json'}, body: '[{"url":"example","workflowId":"example"}]'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://dashboard.justcrawl.io/api/v1/webhooks/example/ingest \ --header 'Content-Type: application/json' \ --data '[ { "url": "example", "workflowId": "example" } ]'Parameters
Section titled “ Parameters ”Path Parameters
Section titled “Path Parameters ” token
required
string
Webhook token for authentication
Request Body required
Section titled “Request Body required ”Responses
Section titled “ Responses ”URLs accepted for processing
Media type application/json
object
accepted
integer
jobsCreated
integer
Example generated
{ "accepted": 1, "jobsCreated": 1}