Create credential
Create a new credential. The secret is returned once and never readable again.
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"
}
}Changes
Changed in 8 of the 85 revisions of this API.143274
- ●
added the new
sigv4enum value to thecredential/typeresponse property for the response status201response-property-enum-value-added
- ○
added
sigv4mapping keys to the request discriminatorrequest-body-discriminator-mapping-added
- ○
added
Sigv4CreateRequestto the request bodyoneOflistrequest-body-one-of-added
- ●
- ○
added the new optional request property
oneOf[subschema #1: BearerTokenCreateRequest]/api/catalog_api_idnew-optional-request-property
- ○
added the new optional request property
oneOf[subschema #2: ApiKeyCreateRequest]/api/catalog_api_idnew-optional-request-property
- ○
added the new optional request property
oneOf[subschema #3: BasicAuthCreateRequest]/api/catalog_api_idnew-optional-request-property
- ○
added the new optional request property
oneOf[subschema #4: OAuth2CreateRequest]/api/catalog_api_idnew-optional-request-property
- ○
added the new optional request property
oneOf[subschema #5: NoAuthCreateRequest]/api/catalog_api_idnew-optional-request-property
- ○
added the optional property
credential/catalog_api_idto the response with the201statusresponse-optional-property-added
- ○
- ●
added the new
no_authenum value to thecredential/typeresponse property for the response status201response-property-enum-value-added
- ○
added
no_authmapping keys to the request discriminatorrequest-body-discriminator-mapping-added
- ○
added
NoAuthCreateRequestto the request bodyoneOflistrequest-body-one-of-added
- ●
- ○
added the optional property
credential/created_byto the response with the201statusresponse-optional-property-added
- ○
- ▲
the request's body type/format changed from
object/to/request-body-type-changed
- ▲
the
detailresponse's property type/format changed fromarray/tostring/for status422response-property-type-changed
- ▲
removed the required property
idfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
labelfrom the response with the201statusresponse-required-property-removed
- ●
removed the request property
api_idrequest-property-removed
- ●
removed the request property
auth_typerequest-property-removed
- ●
removed the request property
descriptionrequest-property-removed
- ●
removed the request property
identityrequest-property-removed
- ●
removed the request property
labelrequest-property-removed
- ●
removed the request property
routesrequest-property-removed
- ●
removed the request property
schemerequest-property-removed
- ●
removed the request property
server_variablesrequest-property-removed
- ●
removed the request property
valuerequest-property-removed
- ●
removed the optional property
account_idfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
api_idfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
app_slugfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
auth_typefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
created_atfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
descriptionfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
health_checked_atfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
healthyfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
identityfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
last_used_atfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
routesfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
schemefrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
server_variablesfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
synced_atfrom the response with the201statusresponse-optional-property-removed
- ●
removed the optional property
updated_atfrom the response with the201statusresponse-optional-property-removed
- ○
api operation id
create_credentials_postremoved and replaced withcreateCredentialapi-operation-id-removed
- ○
the endpoint scheme security
BearerAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
HumanLoginwas removed from the APIapi-security-removed
- ○
api tag
Credentialsaddedapi-tag-added
- ○
api tag
credentialsremovedapi-tag-removed
- ○
added request discriminator
request-body-discriminator-added
- ○
added
BearerTokenCreateRequestApiKeyCreateRequestBasicAuthCreateRequestOAuth2CreateRequestto the request bodyoneOflistrequest-body-one-of-added
- ○
media type
application/jsonwas changed to a more specific media typeapplication/problem+jsonfor the response status422response-media-type-name-specialized
- ○
added the non-success response with the status
400response-non-success-status-added
- ○
added the non-success response with the status
401response-non-success-status-added
- ○
added the non-success response with the status
403response-non-success-status-added
- ○
added the non-success response with the status
500response-non-success-status-added
- ○
added the non-success response with the status
503response-non-success-status-added
- ○
added the optional property
codeto the response with the422statusresponse-optional-property-added
- ○
added the optional property
errorsto the response with the422statusresponse-optional-property-added
- ○
added the optional property
instanceto the response with the422statusresponse-optional-property-added
- ○
added the optional property
statusto the response with the422statusresponse-optional-property-added
- ○
added the optional property
titleto the response with the422statusresponse-optional-property-added
- ○
added the optional property
typeto the response with the422statusresponse-optional-property-added
- ○
the response property
detailbecame required for the status422response-property-became-required
- ○
added the required property
credentialto the response with the201statusresponse-required-property-added
- ○
added the required property
secretto the response with the201statusresponse-required-property-added
This revision also has 61 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
added the new optional request property
descriptionnew-optional-request-property
- ○
added the new
JenticApiKeyenum value to the request propertyauth_type/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
oauth2enum value to the request propertyauth_type/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the new
pipedream_oauthenum value to the request propertyauth_type/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the optional property
descriptionto the response with the201statusresponse-optional-property-added
- ○
added the optional property
health_checked_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
healthyto the response with the201statusresponse-optional-property-added
- ○
added the optional property
last_used_atto the response with the201statusresponse-optional-property-added
- ○
- ○
added the new optional request property
routesnew-optional-request-property
- ○
added the new optional request property
schemenew-optional-request-property
- ○
added the new optional request property
server_variablesnew-optional-request-property
- ○
the request property
valuebecame optionalrequest-property-became-optional
- ○
the
valuerequest property default valuewas addedrequest-property-default-value-added
- ○
added the new
noneenum value to the request propertyauth_type/anyOf[subschema #1]/request-property-enum-value-added
- ○
added the optional property
routesto the response with the201statusresponse-optional-property-added
- ○
added the optional property
schemeto the response with the201statusresponse-optional-property-added
- ○
added the optional property
server_variablesto the response with the201statusresponse-optional-property-added
- ○
- ▲
added the new required request property
labelnew-required-request-property
- ▲
added the new required request property
valuenew-required-request-property
- ▲
removed
BearerTokenCreateRequestApiKeyCreateRequestBasicAuthCreateRequestOAuth2CreateRequestfrom the request bodyoneOflistrequest-body-one-of-removed
- ▲
the request's body type/format changed from
/toobject/request-body-type-changed
- ▲
media type
application/problem+jsonwas changed to a more general media typeapplication/jsonfor the response status422response-media-type-name-generalized
- ▲
the response property
detailbecame optional for the status422response-property-became-optional
- ▲
the
detailresponse property's maxLength was unset from4096for the response status422response-property-max-length-unset
- ▲
the
detailresponse's property type/format changed fromstring/toarray/for status422response-property-type-changed
- ▲
removed the required property
credentialfrom the response with the201statusresponse-required-property-removed
- ▲
removed the required property
secretfrom the response with the201statusresponse-required-property-removed
- ●
removed the optional property
codefrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
errorsfrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
instancefrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
statusfrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
titlefrom the response with the422statusresponse-optional-property-removed
- ●
removed the optional property
typefrom the response with the422statusresponse-optional-property-removed
- ○
api operation id
createCredentialremoved and replaced withcreate_credentials_postapi-operation-id-removed
- ○
the endpoint scheme security
HumanLoginwas added to the APIapi-security-added
- ○
the endpoint scheme security
BearerAuthwas removed from the APIapi-security-removed
- ○
api tag
credentialsaddedapi-tag-added
- ○
api tag
Credentialsremovedapi-tag-removed
- ○
added the new optional request property
api_idnew-optional-request-property
- ○
added the new optional request property
auth_typenew-optional-request-property
- ○
added the new optional request property
identitynew-optional-request-property
- ○
removed request discriminator
request-body-discriminator-removed
- ○
removed the non-success response with the status
400response-non-success-status-removed
- ○
removed the non-success response with the status
401response-non-success-status-removed
- ○
removed the non-success response with the status
403response-non-success-status-removed
- ○
removed the non-success response with the status
500response-non-success-status-removed
- ○
removed the non-success response with the status
503response-non-success-status-removed
- ○
added the optional property
account_idto the response with the201statusresponse-optional-property-added
- ○
added the optional property
api_idto the response with the201statusresponse-optional-property-added
- ○
added the optional property
app_slugto the response with the201statusresponse-optional-property-added
- ○
added the optional property
auth_typeto the response with the201statusresponse-optional-property-added
- ○
added the optional property
created_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
identityto the response with the201statusresponse-optional-property-added
- ○
added the optional property
synced_atto the response with the201statusresponse-optional-property-added
- ○
added the optional property
updated_atto the response with the201statusresponse-optional-property-added
- ○
added the required property
idto the response with the201statusresponse-required-property-added
- ○
added the required property
labelto the response with the201statusresponse-required-property-added
This revision also has 179 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲