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
organizationIdstringRequired
The unique id of the organization
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}/importsAuthorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired
The unique id of the organization
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}/cancelLast updated
Was this helpful?