Skip to content

Integration Profile Reference

Generated by scripts/gen_reference.py from kirak.catalog. Do not edit by hand: run python scripts/gen_reference.py after changing a spec or upgrading a dependency.

One service’s facts for the integrations module: where it authorizes, where its API lives, how to learn who connected, and its quirks. A profile is data only. Bundled profiles live in kirak/integrations/profiles/; a project adds its own as integrations/.json.

Every key of kirak/schemas/integration_profile.schema.json, one table per top-level key. Required means required when its parent object is present. <name> stands for a key you choose (a setting or scope name) and [] for each item of a list. Rules that tie keys together (for example revoke needs revoke_url) are in the descriptions; kirak validate reports a broken profile with the field that is wrong. How to write one is in Building a provider profile; how the module uses it is in Integrations.

Key Type Required Description
profile_version 1 yes The version of this format. Only 1 exists.
name string yes The profile’s name, used as kirak.json “profile” and as the file name.
title string yes The service’s display name.
website string The service’s home page.
docs_url string yes The vendor documentation the facts were checked against.
notes array of string Plain-language quirks, for people and agents.
Key Type Required Description
auth object yes How the app authenticates: the type, the endpoints, and where the token sits in the response.
auth.type one of "oauth2", "api_key" yes oauth2 for a user’s own account; api_key for one app key or one key per user.
auth.authorize_url string The authorize endpoint. May hold {settings.x}, {connect.x} or {connection.x}.
auth.token_url string The token endpoint. May hold placeholders, and a {connection.x} value from the callback or the connect call (Zoho’s data center); when that value is the whole host, its pattern must list the allowed hosts.
auth.refresh_url string The refresh endpoint. Defaults to token_url.
auth.revoke_url string The revoke endpoint, when the service has one. Alone, it means the RFC 7009 request: POST a form with token and token_type_hint, the client authenticated as token_auth says. May hold {client_id} in its path (GitHub).
auth.revoke object How a service that does not follow RFC 7009 revokes a token at disconnect. Every field is optional; the defaults are the RFC 7009 request. The token is never put in the URL.
auth.revoke.method one of "POST", "DELETE" HTTP method. Default POST.
auth.revoke.client_auth one of "basic", "body", "none", "secret_header" How the client id and secret go: HTTP Basic, in the body, not at all, or secret_header: the secret in the Authorization header after secret_prefix and the client id in the body (Square: Authorization: Client ). Default: as token_auth.
auth.revoke.secret_prefix string With client_auth secret_header: the text before the secret, such as ’Client ’.
auth.revoke.credential one of "bearer" bearer: the token itself authorizes the call, in Authorization: Bearer (Dropbox, Slack). Then the body does not carry it.
auth.revoke.format one of "form", "json", "none" How the body is sent: form (default), json, or no body (with credential bearer).
auth.revoke.token_param string The body field that holds the token. Default token.
auth.revoke.token one of "access", "refresh" Which token to revoke. Default: the refresh token when the connection has one, else the access token.
auth.authorize_params map of string Extra query parameters on the authorize URL, such as access_type or prompt. {“response_mode”: “form_post”} makes the provider send the callback as a form POST, which the callback route accepts (Sign in with Apple). Values may hold {settings.x}, such as Amazon’s application_id.
auth.authorize_omit array of one of "client_id", "redirect_uri", "response_type" Standard authorize URL fields the service does not take, left out (Amazon SP-API’s consent URL takes application_id and state only). The state is always sent.
auth.redirect_uri string What is sent as redirect_uri on the authorize URL and the code exchange, for a service that takes a registered name instead of the callback URL (eBay’s RuName, from {settings.runame}). Only {settings.x} placeholders. The callback URL is then registered with the service under that name.
auth.code_param string The callback query field that holds the authorization code, when it is not code (Amazon SP-API’s spapi_oauth_code). The code exchange still sends it as code.
auth.login_hop object For a service that sends the browser to the app’s log-in URL between consent and the callback, and waits for the app to send it back (Amazon SP-API). Kirak serves that URL at /integrations//callback/login: register it with the service. It sends the browser to the URL in next_param with the pass fields, the state and redirect_uri; only the browser that started the connect gets through.
auth.login_hop.next_param string yes The query field with the URL to send the browser back to (Amazon’s amazon_callback_uri).
auth.login_hop.next_hosts array of string yes The hosts that URL may have: a host, or *.domain for its subdomains. It must be https.
auth.login_hop.pass array of string Query fields copied onto that URL when present (Amazon’s amazon_state and version).
auth.grants array of one of "authorization_code", "client_credentials" The grants the service supports for this profile: authorization_code (a user connects; the default) and client_credentials (an app-level token, no user). An instance chooses one with grant in kirak.json.
auth.token_params map of string Extra fields on the code exchange (the token request at connect), such as Shopify’s expiring. They cannot replace the grant’s own fields. A client credentials request takes client_credentials_params instead.
auth.client_credentials_params map of string Extra fields on a client credentials token request (an app-level instance), such as Auth0’s audience or Sage Intacct’s username. Values may hold {settings.x}. They cannot replace the grant’s own fields.
auth.client_id_param string The name the service gives the client id in the authorize URL and in token, refresh and revoke request bodies, such as TikTok’s client_key. Default client_id. The value is always the instance’s client_id; HTTP Basic and JWT client proofs are unchanged.
auth.refresh_params map of string Extra fields on the refresh request. They cannot replace the grant’s own fields.
auth.pkce boolean Use S256 PKCE. Set it when the service documents it; without a value the default is true.
auth.token_auth one of "basic", "body", "private_key_jwt", "none" How the client proves itself at the token endpoint: basic (default) or body send the client id and secret; private_key_jwt sends a JWT signed with the app’s private key (KIRAK_INTEGRATION__PRIVATE_KEY), as auth.jwt describes; none is a public client: only the client id is sent, with PKCE, and there is no client secret.
auth.call_with one of "access_token", "client_secret" What authenticates each call on an oauth2 connection: access_token (default) is the connection’s token; client_secret is the app’s client secret, placed the same way (auth.key). Stripe Connect calls use the platform’s secret key with the connected account in the Stripe-Account header, which comes from the connection.
auth.jwt object For token_auth private_key_jwt: the JWT the client signs. Sent as client_assertion (RFC 7523) by default, or as the client_secret itself (Apple). Claim and header values may hold {client_id}, {token_url} (the token endpoint being called) and {settings.x}.
auth.jwt.as one of "client_assertion", "client_secret" client_assertion (default): sent with client_assertion_type jwt-bearer, signed per request with a jti. client_secret: sent as the client_secret, reused until near its expiry (Apple).
auth.jwt.algorithm one of "ES256", "ES384", "RS256", "PS256" yes The signing algorithm; the private key must fit it (EC for ES*, RSA for RS* and PS*).
auth.jwt.lifetime integer Seconds the JWT is valid. Default 300; Apple allows up to six months.
auth.jwt.claims map of string The claims, as templates. Default for client_assertion: iss and sub {client_id}, aud {token_url}. iat and exp are added, and jti for client_assertion.
auth.jwt.header map of string Extra JWT header fields, as templates, such as kid: {settings.key_id}.
auth.check one of "code", "client_credentials", "none" How kirak integrations check proves the client credentials: code (default) sends a code that cannot be valid, for a service that checks the client before the code; client_credentials sends a client_credentials grant; none means no request proves them (the check reports unverified).
auth.token_format one of "form", "json" How the token request body is sent. Default form.
auth.token_path string Where the access token sits in the token response, dotted, e.g. authed_user.access_token. Default access_token.
auth.refresh_token_path string Where the refresh token sits in the token response, dotted from the top. Default: refresh_token next to the access token.
auth.expires_in_path string Where the access token’s lifetime in seconds sits in the token response, dotted from the top. Default: expires_in next to the access token.
auth.expires_at_path string Where the access token’s expiry sits in the token response, dotted from the top, for a service that sends a time instead of a lifetime: a Unix epoch, or an ISO 8601 time (Square). Used when no lifetime is found.
auth.scope_path string Where the granted scopes sit in the token response, dotted from the top. Default: scope next to the access token.
auth.refresh_expires_in_path string Where the refresh token’s lifetime in seconds sits in the token response, dotted from the top (QuickBooks: x_refresh_token_expires_in). Default: refresh_token_expires_in next to the access token.
auth.refresh_token_lifetime_days integer How long a refresh token lasts when the response does not say, counted from each response that returns one (Xero: 60). Without it and without the response field, the expiry is not known.
auth.scope_param string or false The authorize parameter that carries the scopes: a name such as “scope” (default) or “user_scope”, or false when scopes are set at app registration (Notion).
auth.scope_separator string What separates scopes in the scope parameter. Default a space.
auth.refresh_rotates boolean The service issues a new refresh token on every refresh; the old one must be replaced at once.
auth.expiry_lookup object When the token response has no expires_in, where to read the expiry: a URL (may hold placeholders) and a dotted JSON path. The value is seconds from now.
auth.expiry_lookup.url string yes An https URL, or one that starts with a {settings.x}, {connect.x} or {connection.x} placeholder whose pattern holds the value to https. A placeholder may appear anywhere in it.
auth.expiry_lookup.path string yes Dotted path to the expiry value in that response, in seconds from now.
auth.key object Where the credential goes: the key (api_key), or the access token (oauth2; default Authorization with the prefix ’Bearer ’, Shopify: X-Shopify-Access-Token with no prefix).
auth.key.in one of "header", "query", "basic" yes Where the key goes: a header, the query string, or HTTP Basic with the key as the user name (BambooHR, Freshdesk).
auth.key.name string The header or query parameter name that carries the key. Required for header and query.
auth.key.prefix string Text put in front of the key, such as Bearer with a trailing space (header only).
auth.key.password string basic only: the fixed password sent with the key, such as X. Default empty.
auth.key.username string basic only: the user name, for a service that takes the key as the password: fixed text (Mailgun’s api) or a {settings.x} placeholder (Twilio’s Account SID). password is then not used.
Key Type Required Description
scopes object The scopes the profile asks for by default, the scope that grants a refresh token, and what each known scope means.
scopes.default array of string Scopes requested when kirak.json does not set scope. A scope may hold {settings.x}, for a scope that names the instance’s own host (Dataverse’s https://{settings.environment_host}/user_impersonation).
scopes.offline string A scope that makes the service return a refresh token; always added when the service needs it.
scopes.known map of string What each known scope means, keyed by scope name.
scopes.satisfied_by map of array of string For the granted-scope check: a requested scope counts as granted when one of these scopes is, because the service grants it under another name (Google: email as https://www.googleapis.com/auth/userinfo.email) or a wider scope implies it (Shopify: write_products implies read_products).
Key Type Required Description
secrets object yes The secrets the app sets for this service, under Kirak’s names, each read from KIRAK_INTEGRATION__. Declare exactly the ones the profile uses: client_secret when token_auth is basic or body (the default), when call_with is client_secret, or when a revoke or the webhooks use it; private_key when token_auth is private_key_jwt; webhook_secret when the webhooks are checked with it; api_key for every api_key profile. An empty object when the profile uses none (a public client with no webhooks). Non-secret values go in settings.
secrets.client_secret object The OAuth client secret. Required.
secrets.client_secret.label string yes What the service calls this secret on its own screens, such as Stripe’s Secret key or Slack’s Signing Secret.
secrets.client_secret.where string yes Where to find or create it, as a click path in the service’s own words: Dashboard > Developers > API keys.
secrets.private_key object The PEM private key that signs the client’s JWT (token_auth private_key_jwt). Required.
secrets.private_key.label string yes What the service calls this secret on its own screens, such as Stripe’s Secret key or Slack’s Signing Secret.
secrets.private_key.where string yes Where to find or create it, as a click path in the service’s own words: Dashboard > Developers > API keys.
secrets.webhook_secret object The secret that checks webhook signatures. Needed only when the app takes webhooks, so never required.
secrets.webhook_secret.label string yes What the service calls this secret on its own screens, such as Stripe’s Secret key or Slack’s Signing Secret.
secrets.webhook_secret.where string yes Where to find or create it, as a click path in the service’s own words: Dashboard > Developers > API keys.
secrets.api_key object The app’s key. Required when the instance’s key_owner is app; with key_owner user each user saves their own, and the text tells them where to find it.
secrets.api_key.label string yes What the service calls this secret on its own screens, such as Stripe’s Secret key or Slack’s Signing Secret.
secrets.api_key.where string yes Where to find or create it, as a click path in the service’s own words: Dashboard > Developers > API keys.
Key Type Required Description
settings map of object Values the app sets in kirak.json under the instance’s “settings” key, such as a tenant or a shop. Each must have a pattern when a placeholder uses it.
settings.<name>.description string yes What the setting is for.
settings.<name>.default string The value used when kirak.json does not set it.
settings.<name>.pattern string A regular expression the value must match in full. Required when a placeholder uses the setting.
Key Type Required Description
connect map of object Values the app passes to the connect call, such as the shop of a Shopify store. Each has a pattern.
connect.<name>.pattern string yes A regular expression the value must match in full.
connect.<name>.description string yes What the app passes to the connect call.
Key Type Required Description
sites object For a token that reaches several sites, organisations or tenants (Atlassian sites, Xero organisations): the request that lists them. Every site is saved with the connection, the default (else the first) is active, and the app can make another active later; connection values with from site are read from the active one.
sites.url string yes The URL that lists the sites, called with the new access token. It may use {settings.x}, and {connection.x} values from the callback, the connect call or the token response (Zoho Books’ api_domain), not values read by a request or from a site.
sites.method one of "GET", "POST" The HTTP method. Default GET.
sites.body object A JSON body sent with POST. Fixed text: no placeholders are filled in it.
sites.items_path string Dotted path to the list in the response. Default: the response is the list.
sites.where map of string or number or boolean Keep only the items whose fields have these values, by dotted path, such as {“product”: “harvest”} (Harvest’s accounts of Forecast are left out).
sites.id string yes Dotted path in a site’s item to its id.
sites.label string The site’s name shown to users: a dotted path in its item, or a template of paths in braces.
sites.default string Dotted path in a site’s item to a field that is true for the default site. Without it, or when no site has it, the first is the default.
Key Type Required Description
connection map of object Values saved with the connection and used in its URLs, taken from the token, the callback, the connect call or a request.
connection.<name>.from one of "token", "callback", "connect", "request", "site" yes Where the value comes from: the token, the callback, the connect call, a request, or the connection’s active site (path read in the site’s item; the profile needs a sites section).
connection.<name>.path string Dotted path in the source to read the value from. A step may pick a list item by a field: accounts[is_default=true].base_uri.
connection.<name>.key string Name of the query parameter or field to read the value from.
connection.<name>.url string An https URL, or one that starts with a {settings.x}, {connect.x} or {connection.x} placeholder whose pattern holds the value to https. A placeholder may appear anywhere in it.
connection.<name>.method one of "GET", "POST" For from request: the HTTP method. Default GET.
connection.<name>.body object For from request: a JSON body sent with POST, such as a GraphQL query. Fixed text: no placeholders are filled in it.
connection.<name>.pattern string A regular expression the value must match in full.
connection.<name>.map map of string A closed map from the raw source value to the value actually saved, for a service that names a data center (Zoho’s location: eu) rather than giving the host outright. Only the values listed here are ever produced, so this needs no pattern; a raw value not in the map fails the connect.
Key Type Required Description
account object How to learn who connected: the account id and a label to show.
account.from one of "id_token", "token", "connection", "request" yes Where the account id comes from: the id token, the token response, the connection, or a request.
account.url string For from request: the endpoint to read the account from.
account.method one of "GET", "POST" For from request: the HTTP method, POST for a service whose endpoints take POST only (Dropbox). Default GET.
account.id string Dotted path to the account id in that source.
account.label string A label for the account shown to users: a dotted path (email), or a template of dotted paths in braces ({first_name} {last_name}). A missing value is left out; an empty label is none.
account.body object For from request: a JSON body sent with POST, such as a GraphQL query ({“query”: “{ viewer { id email } }”}). Fixed text: no placeholders are filled in it.
Key Type Required Description
api object yes Where the service’s API lives and what every request carries.
api.base_url string yes An https URL, or one that starts with a {settings.x}, {connect.x} or {connection.x} placeholder whose pattern holds the value to https. A placeholder may appear anywhere in it.
api.allowed_hosts array of string Extra hosts the API may call, besides the host of base_url. Entries may use a *. wildcard for subdomains.
api.default_headers map of string Headers every request carries, such as an API version. Besides the placeholders, an oauth2 profile’s values may hold {client_id} and {client_secret} (Etsy’s x-api-key: {client_id}:{client_secret}), and any profile’s {request_time}: the time of each request in UTC, ISO 8601 basic format (Amazon’s x-amz-date: 20190430T123600Z).
api.default_params map of string Query parameters every request carries, such as an organization id a service needs on every call (Zoho Books’ organization_id). Filled with the same placeholders as default_headers; a request’s own query param of the same name wins.
api.errors object How the service reports a failure, when its HTTP status does not say enough.
api.errors.code_path string Where the service’s error name is in the body, as a dotted path. Default: error. A numeric code (Meta’s 190) is matched as its text, so token_invalid and scope_missing list it as “190”.
api.errors.success_path string For a service that answers 200 for errors: a body field that is true on success, as a dotted path. Anything else is a failure.
api.errors.errors_path string For a service that answers 200 with a list of errors (GraphQL: errors): a body field that is a non-empty list on failure, as a dotted path.
api.errors.token_invalid array of string Error names that mean the token is no longer good: the call refreshes once, then the user must connect again.
api.errors.scope_missing array of string Error names that mean the grant lacks a scope: no refresh; the connection check reports it.
api.timeout number Seconds to wait for one request.
Key Type Required Description
pagination object How list responses are paged, so a client can read every page.
pagination.style one of "link_header", "cursor", "next_url", "offset", "page" yes How the next page is found: a Link header, a cursor, a next URL, an offset, or a page number.
pagination.param string The query parameter that asks for the next page (cursor and page styles). When paginate() is given a body, the body field instead.
pagination.next string The response field that holds the next cursor or URL.
pagination.size_param string The query parameter that sets the page size.
pagination.max_size integer The largest page size the service allows.
pagination.items_path string Dotted path to the list of items in the response body.
pagination.offset_param string The query parameter that sets the offset (offset style).
pagination.total string The response field that holds the total count, when the service reports one.
pagination.more string A response field that is true while more pages follow (Dropbox and Notion: has_more). When set, paging stops once it is not true, even if a cursor came back.
pagination.continue_path string Cursor style with a body: the path the following pages are posted to, with only the cursor in the body (Dropbox’s /files/list_folder/continue). Without it, the next page goes to the same path with the cursor added to the first body (Notion).
pagination.first integer Page style: the number of the first page. Default 1; Auth0 starts at 0.
pagination.next_from_last string Cursor style: the field of the last item on the page that is the cursor, for a service that pages with after= (Resend, Discord). Used instead of next. Paging stops at an empty page.
Key Type Required Description
rate_limit object How the service reports limits: the statuses that mean limited, and the headers that say when to retry. remaining, limit, used, reset and reset_epoch (here or in a limits entry) are each a header name, read whole, or {“header”: …, “pattern”: …} for a number inside text: a regular expression searched in the header’s value (its first 512 characters), whose first capture group (the whole match when it has none) is read, such as {“header”: “Sforce-Limit-Info”, “pattern”: “api-usage=\d+/(\d+)”} for the limit in api-usage=18/5000. A value that is missing or does not match is not read.
rate_limit.status array of integer HTTP statuses that mean the app is limited.
rate_limit.retry_after string Response header that says how long to wait before retrying.
rate_limit.remaining string or object Response header with the calls left in the window.
rate_limit.limit string or object Response header with the call limit of the window.
rate_limit.used string or object Response header with the calls used in the window. Without remaining, the calls left are the limit less the used (Shopify’s X-Shopify-Shop-Api-Call-Limit 32/40, Salesforce’s Sforce-Limit-Info api-usage=18/5000, each read with a pattern).
rate_limit.reset string or object Response header with when the window resets: seconds, a duration (6m0s, 120ms), an HTTP date or an ISO 8601 time.
rate_limit.reset_epoch string or object Response header with the reset time as a Unix epoch.
rate_limit.body object A budget the JSON body of each response reports (GraphQL complexity). The app must ask for the field in its own query: Kirak does not add it. Read as one limit named body.
rate_limit.body.path string yes Dotted path to the object that holds the budget in the response body (complexity).
rate_limit.body.remaining string Key in that object with the calls or units left (after).
rate_limit.body.limit string Key in that object with the budget of the window, when the body reports it.
rate_limit.body.reset string Key in that object with when the window resets: seconds, a duration, an HTTP date or an ISO 8601 time (reset_in_x_seconds).
rate_limit.limits array of object Several limits reported at once, each with its own headers (OpenAI: requests and tokens). A call is held or refused when any of them is spent. Instead of the section’s own remaining / limit / used / reset / reset_epoch.
rate_limit.limits[].name string yes The limit’s name, as client.quota and the logs show it: requests, tokens, day.
rate_limit.limits[].remaining string or object Response header with the calls left in the window.
rate_limit.limits[].limit string or object Response header with the call limit of the window.
rate_limit.limits[].used string or object Response header with the calls used in the window. Without remaining, the calls left are the limit less the used (Shopify’s X-Shopify-Shop-Api-Call-Limit 32/40, Salesforce’s Sforce-Limit-Info api-usage=18/5000, each read with a pattern).
rate_limit.limits[].reset string or object Response header with when the window resets: seconds, a duration (6m0s, 120ms), an HTTP date or an ISO 8601 time.
rate_limit.limits[].reset_epoch string or object Response header with the reset time as a Unix epoch.
rate_limit.scope one of "connection", "integration" Whether the limit applies per connection or per integration.
rate_limit.bucket string Response header that names the route bucket a call counts against (Discord’s X-RateLimit-Bucket). Each bucket is held on its own: a spent bucket holds only the routes that count against it. Until a route’s bucket is seen, its calls are sent.
Key Type Required Description
verify object One cheap request that proves the connection or key works.
verify.method one of "GET", "POST" yes HTTP method of the verify request.
verify.path string yes Path of the verify request, relative to the API base URL.
verify.body object A JSON body sent with POST, such as a GraphQL query. Fixed text: no placeholders are filled in it.
Key Type Required Description
limits object Caps the service sets on an app.
limits.max_connections integer Connections the app may hold for this service, across all users.
Key Type Required Description
webhooks object How the service signs and labels its webhooks: the signature scheme, the event name, the delivery id, the handshake, and where the account id is in the payload.
webhooks.format one of "json", "form" The body’s format: json (default) or form (application/x-www-form-urlencoded, Twilio); a form’s fields are the payload handlers get, and the paths below read them by name.
webhooks.secret one of "webhook_secret", "client_secret" Which secret checks the signature: the instance’s webhook_secret, or its client_secret.
webhooks.signature object yes The signature: a header (or, with path, a value of the JSON body), HMAC-SHA256 of a signed string, hex or base64, with an optional prefix. Or, with kind token, a header that carries the shared secret itself.
webhooks.signature.kind one of "hmac", "token", "public_key" hmac (default): an HMAC of the signed string. token: the header holds the shared secret itself (GitLab’s X-Gitlab-Token), compared in constant time; weaker, since the value does not depend on the body, so kirak validate warns. A token scheme takes only header and prefix. public_key: an Ed25519 signature in hex over the signed string, checked with the instance’s public_key setting (Discord). It takes only header and signed, and has no timestamp window.
webhooks.signature.header string The header that carries the signature.
webhooks.signature.path string Instead of header: dotted path to the signature in the JSON body (Mailgun’s signature.signature).
webhooks.signature.algorithm one of "hmac-sha256", "hmac-sha1", "hmac-sha512" The HMAC’s hash. Default hmac-sha256.
webhooks.signature.secret_encoding one of "text", "base64" text (default): the secret’s text is the HMAC key. base64: the secret encodes the key (Standard Webhooks, used by Svix).
webhooks.signature.secret_prefix string With a base64 secret: text before the base64 that is not part of the key, such as whsec_. Removed when present.
webhooks.signature.encoding one of "hex", "base64" How the digest is written. Default hex.
webhooks.signature.prefix string Text before the digest in the header, such as sha256=.
webhooks.signature.signed string The string that is signed: {body}, {timestamp}, {method}, {url} (the app’s public URL, from base_url), {header.} (a request header, such as Standard Webhooks’ {header.webhook-id}), {body.} (a value of the JSON body, such as Mailgun’s {body.signature.timestamp}) and {form_sorted} (a form body’s fields sorted by name, each name then value: Twilio). Default {body}.
webhooks.signature.parts object For a signature header made of comma-separated key=value parts (Stripe and Calendly: t=1700000000,v1=): the key of the digest, and of the timestamp when the header carries it. Every part with the signature key is tried, so a header listing two (a secret being rotated) passes when either matches.
webhooks.signature.parts.signature string yes The key of the digest part, such as v1.
webhooks.signature.parts.timestamp string The key of the timestamp part, such as t. Then timestamp needs no header.
webhooks.signature.parts.separator string What separates the parts. Default a comma; Standard Webhooks uses a space (v1, v1,).
webhooks.signature.parts.delimiter string What separates a part’s key from its value. Default =; Standard Webhooks uses a comma.
webhooks.signature.timestamp object The timestamp, with the window (in seconds) a delivery may be out by: in its own header, or in the signature header (parts.timestamp).
webhooks.signature.timestamp.header string The header that carries the timestamp. Needed unless parts.timestamp or path names it.
webhooks.signature.timestamp.path string Instead of header: dotted path to the timestamp in the JSON body (Mailgun’s signature.timestamp).
webhooks.signature.timestamp.tolerance integer yes The allowed difference, in seconds.
webhooks.signature.timestamp.unit one of "s", "ms" Seconds or milliseconds. Default s.
webhooks.handshake object A request the service makes to check the URL. Kinds query, header and body are answered before the signature is checked; kinds hmac and fixed only after it.
webhooks.handshake.kind one of "query", "header", "body", "hmac", "fixed" yes query: a query parameter is echoed back as text. header: a request header is echoed back as text (Front’s x-front-challenge). body: a JSON body field is echoed back as JSON (Slack’s challenge). hmac: a signed delivery that matches gets back a body value and its HMAC with the webhook secret (Zoom’s endpoint.url_validation). fixed: a signed delivery that matches gets back the declared object (Discord’s PING: {“type”: 1}).
webhooks.handshake.param string For kind query: the query parameter.
webhooks.handshake.header string For kind header: the request header whose value is echoed back.
webhooks.handshake.match map of string or integer For kinds body, hmac and fixed: body fields and the values that mark a handshake, such as {“type”: “url_verification”}. For hmac the keys may be dotted.
webhooks.handshake.answer string or object For kind body: the field to echo back. For kind fixed: the object to answer with, such as {“type”: 1}.
webhooks.handshake.value string For kind hmac: dotted path to the value to sign, such as payload.plainToken.
webhooks.handshake.echo string For kind hmac: the answer field that holds the value, such as plainToken.
webhooks.handshake.hmac string For kind hmac: the answer field that holds the value’s HMAC, such as encryptedToken.
webhooks.handshake.algorithm one of "hmac-sha256", "hmac-sha1", "hmac-sha512" For kind hmac: the HMAC’s hash. Default hmac-sha256.
webhooks.handshake.encoding one of "hex", "base64" For kind hmac: how the HMAC is written. Default hex.
webhooks.event object The event’s name: a header, or a field of the body (Zoom’s event, Stripe’s type), and optionally a field of the body for the action (issues.opened). Exactly one of header and path.
webhooks.event.header string The header that names the event.
webhooks.event.path string Dotted path in the body to the event’s name, for a service that sends no event header.
webhooks.event.action_path string Dotted path in the body to the action, appended to the event name.
webhooks.delivery_id object Where the delivery’s id is, used to drop duplicates: a header, or a field of the body. Exactly one of the two. Without it, the body’s hash is the id.
webhooks.delivery_id.header string The header with the delivery id.
webhooks.delivery_id.path string Dotted path in the body to the delivery id (Typeform’s event_id).
webhooks.account_path string Dotted path in the body to the account id the event belongs to.
Key Type Required Description
examples array of object Example calls for people and agents, shown by the catalog.
examples[].title string yes A short name for the example.
examples[].method one of "GET", "POST", "PUT", "PATCH", "DELETE" yes HTTP method.
examples[].path string yes Path relative to the API base URL.
examples[].body object A JSON body, for a service whose calls are all POST with no query string (Odoo’s JSON-2 endpoints).