POST
/
v2
/
export
/
connection

Authorizations

Authorization
string
headerrequired

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

An export from connection request.

destinationConnection
integer
required

The ID of the connection to which the content must be exported.

sourceConnection
integer
required

The ID of the connection from which the content must be exported.

sourceDocumentReference
string
required

The reference of the document that must be exported. For Notion, this is the ID of the document.

Minimum length: 1
fieldMappings
object | null

Allows you to export additional fields to the destination connection. You can specify either explicit values, or you can map them to fields in the source document.

title
string | null

An optional title for the exported content in the destination CMS. If none is specified, the title from the source document will be used.

Response

200 - application/json
id
string

The ID of the job.

outputDocuments
object[]

The documents that were created by this job.

queuedAt
string

The date and time that the job was queued for processing.

status
enum<string>

The status of the job. Possible values:

  • queued - The job has been queued and is waiting to be processed.`
  • processing - The job is being processed.`
  • done - The job has completed successfully.
  • failed - The job has failed.
Available options:
queued,
processing,
done,
failed
summary
string

Summary description of the job.

type
string

The type of job