Sources
Create a source
/v1/sourcesCreates a source and returns its ingest URL. How the sender's requests are verified is set with auth_type.
Parameters
Body parameters13
namestringRequired2–41 lowercase letters, numbers or dashes, starting with a letter or number. Must be unique.
description?stringUp to 200 characters.
type?stringHow the source is labelled in the dashboard.
auth_type?stringHow requests are verified: none, hmac, bearer, apikey, basic, standard (Standard Webhooks) or hmac_ts. Defaults to none.
secret?stringThe signing secret or token. Required for every auth_type except none and basic.
header?stringFor hmac and apikey: the header that carries the signature or key.
encoding?stringFor hmac: hex (default) or base64.
prefix?stringFor hmac: text before the signature in the header, such as sha256=.
username?stringFor basic.
password?stringFor basic.
tolerance?integerFor standard: seconds a timestamp may be off, 0 to 3600. Default 300.
dedupe?stringA body path whose value identifies a duplicate delivery.
correlate?stringA body or header path whose value agents subscribe on. See Subscriptions.
Returns
201The sample response is on the right.Errors return error and message; see Errors and limits.