v50

latestOpenAPI 3.1.0Apache-2.0raw.githubusercontent.com2026-08-01147180956.9 KB
Credentials

Create credential

Create a new credential. The secret is returned once and never readable again.

post/credentials

Request body

OR
OR
OR
OR

Example request

{
  "api": {
    "name": "stripe",
    "vendor": "stripe.com",
    "version": "2024-04-10"
  },
  "field_name": "Authorization",
  "key": "sk_live_…",
  "location": "header",
  "name": "Stripe live key",
  "provider": "static",
  "type": "api_key"
}

Response

Successful Response

secretobject required

Example response

{
  "credential": {
    "active": true,
    "api": {
      "name": "stripe",
      "vendor": "stripe.com",
      "version": "2024-04-10"
    },
    "created_at": "2026-01-15T09:30:00Z",
    "credential_id": "cred_01HZX9...",
    "details": {
      "field_name": "Authorization",
      "hint": "…live_abcd",
      "location": "header"
    },
    "name": "Stripe live key",
    "provider": "static",
    "type": "api_key"
  }
}