Skip to main content

Create Source

Create a new document source with a schema binding and extraction settings. Documents uploaded to this source are auto-extracted using the bound schema.

POST/v1/sources

Request body

FieldTypeRequiredDescription
namestringYesSource name
schema_idstringNoSchema to apply to all ingested documents
auto_extractbooleanNoAuto-extract on upload (default: true)
webhook_urlstringNoWebhook URL for extraction events

Example

curl -X POST https://api.talonic.com/v1/sources \
  -H "Authorization: Bearer tlnc_sk_live_7f3a...x9k2" \
  -H "Content-Type: application/json" \
  -d '{"name":"Invoice Pipeline","schema_id":"sch_abc123","auto_extract":true}'