Queue an integration task
post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100RequiredPattern:
Name of the integration.
^[a-zA-Z0-9-_.]+$Body
taskobjectRequired
Payload for the integration task
schedulenumber · max: 86400Optional
Number of seconds to wait before executing the task, defaults to 0
Responses
204
Integration task created successfully
No content
404
Not Found
application/json
post/integrations/{integrationName}/tasks
POST /v1/integrations/{integrationName}/tasks HTTP/1.1
Host: api.gitbook.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 24
{
"task": {},
"schedule": 1
}No content
Last updated
Was this helpful?