Vault

Store a vault secret

Store or replace a secret. Encrypted with AES-256-GCM, can never be read back.

post/vapi/project/{projectId}/secrets

Request

  • Base URL: https://api.websitepublisher.ai
  • URL: https://api.websitepublisher.ai/vapi/project/{projectId}/secrets
  • Auth: OAuth 2 (authorization code, authorization URL https://api.websitepublisher.ai/dapi/oauth/authorize, token URL https://api.websitepublisher.ai/dapi/oauth/token, scopes: read, write)

Path parameters

projectIdinteger required

Request body

key_namestring required

Unique identifier (lowercase, underscores)

valuestring required

The secret value to encrypt and store

service_typestring

Service label (e.g. resend, mollie)

descriptionstring

Human-readable description

Example request

{
  "key_name": "resend_api_key"
}

Response

Secret stored

Changes

No recorded changes to this operation across all 1 revision of this API.