This endpoint allows you to create a new processor or clone an existing one. Typically processors are created and configured in the Extend Studio, but this endpoint can be used to create processors programmatically in order to sync ID’s across systems.

Body

name
string
required

The name of the new processor.

type
string
required

The type of the processor.

cloneProcessorId
string

The ID of an existing processor to clone. If provided, a new processor will be created that clones the config of this processor.

Response

success
boolean

A true or false value indicating whether the processor was created successfully or not.

processor
DocumentProcessor

A Processor object representing the newly created processor. See the DocumentProcessor object for more details.

Error Responses

success
boolean

Will be false if the request failed.

error
string

A description of the error that occurred.

Possible Common Errors

  • 400 Bad Request: If the request body fails schema validation.
  • 404 Not Found: If the processor to clone (cloneProcessorId) is not found.