Add Source
Add a webhook or poll source of a catalog entry to the stream.
Credentials are write-only and held by reference; a webhook source’s response carries the public URL to give the provider.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Slug of the workspace the request acts in
120^[a-z0-9]+(?:-[a-z0-9]+)*$Body
A webhook or poll source of a catalog entry on an existing stream.
A slug of GET /streams/source-types.
1 - 50The type's plain settings, e.g. shop_id.
The type's credential fields, each a value or {secret_id} of a workspace secret. Write-only: never returned.
This source's own kind, key and session_key templates ({body:a.b}, {header:x}, {first_key:a|b}), in place of the type's. Without a key nothing is deduplicated.
webhook: the provider posts to the source's URL; poll: the platform fetches.
webhook, poll, platform Response
Successful Response
webhook or poll
The catalog slug of GET /streams/source-types.
Public URL the provider posts to; null for a poll source.
This source's own kind / key / session_key templates.
Credentials generated because they were left out; shown this once only.
The provider was pointed at webhook_url (entries with a registration).