List All Prompts
Retrieve a paginated list of all prompts across all brands
Needs read access. About keys
Request
curl "https://app.vyingfor.com/api/v1/prompts" \
-H "Authorization: Bearer YOUR_API_KEY"Parameters
| Name | In | Type | Description |
|---|---|---|---|
brandId | Query | string | Filter prompts by brand ID. |
page | Query | integer | Page number, 1-based. Default 1. |
limit | Query | integer | Items per page. Values above the maximum are clamped, not rejected. Default 20. Up to 1000. |
enabled | Query | boolean | Only prompts with this tracking state. |
tags | Query | string | Comma-separated tags. A prompt matches if it carries any of them. |
parentId | Query | string | Only the variants of this prompt. |
countries | Query | string | Comma-separated ISO 3166-1 alpha-2 country codes, e.g. |
languages | Query | string | Comma-separated ISO 639-1 language codes, e.g. |
q | Query | string | Case-insensitive substring match on prompt text. |
Response
200 List of prompts
| Field | Type | Description |
|---|---|---|
data | Prompt[] | The items on this page. Read this rather than the named key below. |
prompts | Prompt[] | Deprecated: read |
pagination | object |
Errors
400Invalid request data401Authentication required403The key is valid but doesn't have the access this request needs.429Per-key rate limit exceeded.500Internal server error