Workflow Credentials

Create workflow credential

Encrypt a credential and bind it to exact outbound destination hostnames. Requires the workflow_credentials scope and an organization admin role. The secret is write-only.

post/workflow-credentials

Request

  • Base URL: https://app.aifordatabase.com/api/v1
  • URL: https://app.aifordatabase.com/api/v1/workflow-credentials
  • Auth: HTTP bearer

Request body

namestring required
kind'API_KEY_HEADER' | 'BEARER' | 'BASIC' | 'CUSTOM_HEADERS' required
allowedHostsstring[] required

Exact destination hostnames without scheme, port, or path.

Response

Credential metadata

errorunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.