Personas
Create a persona
Creates a persona for the product named by productId (brandId is accepted as a legacy alias). Idempotent on name, case-insensitively: an existing persona with the same name is returned with status 200 instead of being duplicated.
post/api/v1/personas
Request
- Base URLhttps://app.promptingco.com
- URLhttps://app.promptingco.com/api/v1/personas
- Auth
- API key in header x-api-key
- or HTTP bearer
- or API key in cookie better-auth.session_token
Query parameters
productIdstring
brandIdstring
Request body
Response
A persona with this name already existed and is returned unchanged
Changes
No recorded changes to this operation across all 1 revision of this API.