Imports
Import content into GitBook.
The Imports API provides allows you to import content into GitBook.
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$Body
sourceone ofRequired
or
enhancebooleanOptionalDefault:
Enhance the imported content with AI
trueResponses
201
Import run created successfully.
application/json
400
Bad Request
application/json
404
Not Found
application/json
post/org/{organizationId}/imports
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequiredPattern:
A unique entity identifier
^[a-zA-Z0-9_-]+$importRunIdstringRequired
The unique id of the import run
Responses
201
Import run canceled successfully.
application/json
400
Bad Request
application/json
404
Not Found
application/json
post/org/{organizationId}/imports/{importRunId}/cancel
Last updated
Was this helpful?