Forward
Create secret
Create a new secret with a plaintext value.
Validation Rules:
- name: 1-64 characters, alphanumeric + underscore
- value: max 8KB
- entity_id (optional): when provided, secret is scoped to this entity
Response: Returns metadata.
post/secrets
Request
- Base URLhttps://forward.checkout.com
- Auth
- OAuth 2Client credentialsToken URLstringScopesforward, forward:secrets
- or API key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Example request
{
"name": "secret_name",
"value": "my_secret_value",
"entity_id": "ent_svrxgarj6qru5pzx4m4movyney"
}Response
Secret created successfully.
Example response
{
"name": "secret_name",
"created_at": "2025-10-14T00:00:00.0000000+00:00",
"updated_at": "2025-10-14T00:00:00.0000000+00:00",
"version": 1,
"entity_id": "ent_123"
}Changes
No recorded changes to this operation across all 1 revision of this API.