Skip to content

Create input queue config

POST
/api/v1/integrations/inputs
curl --request POST \
--url https://dashboard.justcrawl.io/api/v1/integrations/inputs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "name": "example", "queueType": "sqs", "credentials": {}, "queueUrl": "example", "workflowId": "example", "pollIntervalMs": 1, "maxUrlsPerDay": 1 }'
Media type application/json
object
name
required
string
queueType
required
string
Allowed values: sqs webhook
credentials
object
queueUrl
string
workflowId
string
pollIntervalMs
integer
maxUrlsPerDay
integer

Created input queue configuration

Media type application/json
object
id
string format: uuid
name
string
queueType
string
Allowed values: sqs webhook
queueUrl
string
nullable
workflowId
string format: uuid
nullable
isEnabled
boolean
pollIntervalMs
integer
maxUrlsPerDay
integer
webhookUrl
string
nullable
lastPolledAt
string format: date-time
nullable
lastError
string
nullable
createdAt
string format: date-time
Example
{
"queueType": "sqs"
}