Skip to main content

authenticated_http_call

Internal beta โ€” config shape is being migrated

The Automation API is an internal beta and is not released yet โ€” endpoints and payloads may change or be withdrawn without notice. This action's config is being migrated to a typed schema; the fields below reflect that in-progress shape. Always read the authoritative, live shape from GET /v1/automation/meta/action before building against it.

Authenticated HTTP request โ€” makes an HTTP request signed by an authentication provider. group: "action". No specific trigger context is required.

Part of the HTTP requests family. This page documents the typed config; for how an action sits inside an automation definition, see Actions and Action examples.

Configโ€‹

KeyTypeRequiredDescription
http_call_typeenumyesHTTP method.
http_call_urltemplate valueyesRequest URL.
http_call_bodytemplate valuenoRequest body. Empty when omitted.
http_call_headersarray of header objectsnoRequest headers โ€” each a { key, value } pair whose value is a template value. Empty [] when omitted.
http_call_follow_redirectsbooleannoWhether to follow 3xx redirects. false when omitted.
authentication_provider_idintegernoAuthentication provider that signs the request. Absent when omitted โ†’ the action is skipped at run time.
custom_variable_defsarray of custom variable defsnoCustom variables the action declares (e.g. its response variable) for its own code or later actions. Empty [] when omitted.

http_call_type tokens (lower-case): get, post, put, patch, delete.

Exampleโ€‹

An action entry inside an automation definition's actions[]:

{
"type": "authenticated_http_call",
"config": {
"http_call_type": "post",
"http_call_url": ["https://api.example.com/records/", { "kind": "variable", "source": "meta", "meta_type": "app_record_id" }],
"http_call_headers": [
{ "key": "Content-Type", "value": ["application/json"] }
],
"http_call_body": ["{\"status\":\"synced\"}"],
"http_call_follow_redirects": false,
"authentication_provider_id": 44
}
}

Validation & behaviorโ€‹

  • http_call_type and http_call_url are the only required members; http_call_body defaults to empty, http_call_headers and custom_variable_defs default to [], and http_call_follow_redirects defaults to false.
  • Like http_call, this action signs the request with the referenced authentication_provider_id. The id is optional in the schema, but the action is skipped at run time when it is absent โ€” an authenticated call cannot be made without a provider.
  • Authentication providers are not creatable through this API; reference one configured in the Tape UI.
  • Requests are SSRF-protected.
  • Each header entry requires both key and value; send "" (or []) for a deliberately blank value.

See alsoโ€‹