For the complete documentation index, see llms.txt. This page is also available as Markdown.

Queue an integration task

post
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
integrationNamestring · max: 100Required

Name of the integration.

Pattern: ^[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

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?

Powered by GitBook