List all prompts

Retrieve a paginated list of all prompts across all brands

GET
/prompts

Retrieve a paginated list of all prompts across all brands

Authorization

BearerAuth
AuthorizationBearer <token>

Bearer API token for access

In: header

Query Parameters

brandId?string

Filter prompts by brand ID

page?integer

Page number for pagination (1-based)

Default1
Range1 <= value
limit?integer

Number of items per page

Default20
Range1 <= value <= 100

Response Body

application/json

application/json

application/json

curl -X GET "https://loading/api/v1/prompts"
{  "prompts": [    {      "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",      "brandId": "string",      "value": "string",      "enabled": true,      "tags": [        "string"      ],      "systemTags": [        "string"      ],      "createdAt": "2019-08-24T14:15:22Z",      "updatedAt": "2019-08-24T14:15:22Z"    }  ],  "pagination": {    "page": 0,    "limit": 0,    "total": 0,    "totalPages": 0  }}
{  "error": "string",  "message": "string"}
{  "error": "string",  "message": "string"}