Project
Create Prompt
Changed onCreate a new prompt within a project. Without a country_code the prompt takes the market of its topic, or the project's market when the topic has none.
post/prompts
Request
- Base URLhttps://api.peec.ai/customer/v1
- URLhttps://api.peec.ai/customer/v1/prompts
- Auth
- API key in header X-API-Key
- or API key in query parameter api_key
- or HTTP bearer
Request body
Example request
{
"country_code": "US"
}Response
Prompt created successfully
Example response
{
"id": "pr_93f790de-5b7a-45ee-b782-61103c81f20d"
}Changes
- info
the request property
became optional (media type: application/json) - info
the request property
became optional (media type: application/x-www-form-urlencoded) - info
the request property
became optional (media type: multipart/form-data) - info
added the new
MNenum value to the request property(media type: application/json) - info
added the new
MNenum value to the request property(media type: application/x-www-form-urlencoded) - info
added the new
MNenum value to the request property(media type: multipart/form-data) - info
added the non-success response with the status
- info