Skip to main content
POST
Create credential

Authorizations

Authorization
string
header
required

Use a Continuous API key. Send it in the Authorization header as a Bearer token.

Body

application/json
base_url
string
required

The https URL of the real system. Requests go to paths under it.

name
string
required

Credential name.

Minimum string length: 1
value
string
required
write-only

The full header value, for example Bearer followed by a token. The API never returns it.

Minimum string length: 1
header
string
default:Authorization

The HTTP header that carries the value.

Response

Created

base_url
string | null
required

The https URL of the real system, or null for a credential created without one. A build can use only a credential with a base URL.

created_at
string<date-time>
required

Credential creation time.

header
string
required

The HTTP header that carries the value.

id
string
required

Credential ID.

Pattern: ^crd_[0-9A-HJKMNP-TV-Z]{26}$
name
string
required

Credential name. Names need not be unique.