Credentials
Create credential
Create a new credential. The secret is returned once and never readable again.
post/credentials
Request body
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
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"
}
}