cURL
curl --request POST \ --url https://app.promptingco.com/api/v1/views \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "name": "<string>", "brandId": "<string>" } '
{ "ok": true, "data": { "id": "<string>", "name": "<string>", "description": "<string>", "brandId": "<string>", "organizationId": "<string>", "isDefault": true, "createdAt": "<string>", "updatedAt": "<string>", "deletedAt": "<string>", "conversationCount": 1, "brand": { "id": "<string>", "name": "<string>", "slug": "<string>" } } }
Documentation IndexFetch the complete documentation index at: https://docs.promptingcompany.com/llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: https://docs.promptingcompany.com/llms.txt
Use this file to discover all available pages before exploring further.
Bearer session or OAuth access token. Available OAuth scopes:
1 - 100
1
500
Successful response
true
Show child attributes