Skip to main content

REST input JSON

POST 

/http.inputstructured/:connectionID

REST input JSON allows for structured input and output for your documents. Upload documents using a URL or in Base64 encoded format.

Request

Path Parameters

    connectionID stringrequired

    The connectionID defines which Connection you want to run using the Simple API. The Conversion Service comes with a preconfigured Connection that has an ID archive-pdfa2-default. To use another custom integration:

    1. Go to the Conversion Service Configurator > Integration.
    2. Click the pencil icon next to one of the integrations.
    3. Under the Input section, click the pencil icon next to one of the Input configurations.
    4. Copy the connectionID from the Connection ID field.

Body

required

Include one or more files for conversion. There are two possibilities how to include files:

  • Encoded in Base64 format. Use the content parameter.

  • Share a URL pointing to the file. Use the url parameter.

    name string

    Name of the conversion job.

    data

    object[]

    required

  • Array [

  • url urinullable

    URL to a file.

    content stringnullable

    Base64-encoded content of the file.

    fileName stringrequired

    Name of the input file.

    options

    object[]

    nullable

    Document options.

  • Array [

  • name stringnullable

    Name of the option.

    value stringnullable

    Value of the option.

  • ]

  • ]

  • variables

    object

    nullable

    Job variables represented as key-value pairs.

    property name* string

    options

    object[]

    nullable

    Job options.

  • Array [

  • name stringnullable

    Name of the option.

    value stringnullable

    Value of the option.

  • ]

Responses

The file was successfully submitted for conversion and the Simple API included the converted file in the API response.

Schema

    data

    object[]

    required

    List of converted files.

  • Array [

  • fileName stringrequired

    Name of the converted file.

    content stringrequired

    Base64-encoded content of the resulting file.

  • ]

Loading...