Secrets

Create a workflow secret

Stores a new secret for a workflow. Values are encrypted at rest.

post/workflows/{workflowId}/secrets

Request

  • Base URL
    https://workflow.loopfour.ai/api/v1
  • URL
    https://workflow.loopfour.ai/api/v1/workflows/{workflowId}/secrets
  • Auth
    API key in header x-api-key

Path parameters

workflowIdstring required

Request body

keystring required

Upper snake case, starts with a letter, max 64 characters.

valuestring required

Secret value, 1-8192 characters.

Example request

{
  "key": "SIGNING_KEY"
}

Response

Secret created

successunknown

Example response

{
  "data": {
    "key": "SIGNING_KEY"
  }
}

Changes

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