Skip to main content
POST
Create secret

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

The name of the secret

Maximum string length: 300
value
string
required

The secret value to store

Response

Successfully created secret

The Secret object represents a securely stored secret that can be referenced in converse API calls.

object
enum<string>
required

The object type, which is always secret.

Available options:
secret
id
string
required

The secret identifier, which can be referenced in the converse API.

created_at
string
required

The date and time the secret was created

name
string
required

The name of the secret