Delivery

Create a delivery destination

post/v1/delivery/destinations

Request

  • Base URL
    https://api.talonic.com
  • Auth
    HTTP bearer

Request body

CreateDestinationRequest required
name, string required
type, string required

Connector type. Must match a registered connector. Live types are webhook, sftp, s3, azure_blob, google_drive, onedrive, google_sheets.

config, object

Connector-specific transport settings (e.g. { url, method, headers } for webhook).

auth_config, union

Transport credentials for the connector, discriminated by type (see DestinationAuthConfig and /v1/delivery/catalog/connectors). For a webhook destination a signing_secret key may also be placed here; it is stored as the destination's signing secret (encrypted, never echoed) and stripped from the credentials, so a body whose auth_config holds only the secret reads back as has_auth_config: false, has_signing_secret: true.

signing_secret, string nullable

HMAC-SHA256 secret for webhook destinations. Deliveries then carry X-Talonic-Signature: t=<ms>,v1=<hex> with hex = HMAC(secret, "<t>.<body>") (see the Signature verification section). Equivalent to auth_config.signing_secret; supplying both with different values is a 400.

payload_cap_bytes, integer nullable
is_active, boolean

Example request

{
  "signing_secret": "whsec_rotate_monthly"
}

Response

Destination created (alias of 201).

Destination required
id, string uuid required
customer_id, string uuid required
name, string required
type, string required

Connector type discriminant — resolves to a registered connector. Live types are webhook, sftp, s3, azure_blob, google_drive, onedrive, google_sheets.

config, object

Connector-specific configuration (e.g. { url, headers } for webhook).

has_auth_config, boolean

True when connector credentials are stored for this destination. The credential values themselves are never returned.

has_signing_secret, boolean

True when an HMAC signing secret is stored. The secret itself is never returned.

payload_cap_bytes, integer nullable

Per-destination override of the TransportWrapper payload cap (bytes).

is_active, boolean required
last_delivery_at, string date-time nullable
last_delivery_status, string nullable
created_at, string date-time required
updated_at, string date-time required

Example response

{
  "id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "customer_id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
  "name": "Analytics webhook",
  "type": "webhook",
  "last_delivery_at": "2026-04-25T14:30:00.000Z",
  "created_at": "2026-04-25T14:30:00.000Z",
  "updated_at": "2026-04-25T14:30:00.000Z"
}

Changes

No recorded changes to this operation across all 32 revisions of this API.