Help CenterVying
Open Vying
Menu

List All Prompts

GET/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

NameInTypeDescription
brandIdQuerystring

Filter prompts by brand ID.

pageQueryinteger

Page number, 1-based. Default 1.

limitQueryinteger

Items per page. Values above the maximum are clamped, not rejected. Default 20. Up to 1000.

enabledQueryboolean

Only prompts with this tracking state.

tagsQuerystring

Comma-separated tags. A prompt matches if it carries any of them.

parentIdQuerystring

Only the variants of this prompt.

countriesQuerystring

Comma-separated ISO 3166-1 alpha-2 country codes, e.g. DE,CH. A prompt matches if it is asked from any of them. A code outside the supported list is a 400.

languagesQuerystring

Comma-separated ISO 639-1 language codes, e.g. de,fr. A prompt matches if it is written in any of them. A code outside the supported list is a 400.

qQuerystring

Case-insensitive substring match on prompt text.

Response

200 List of prompts

FieldTypeDescription
dataPrompt[]

The items on this page. Read this rather than the named key below.

promptsPrompt[]

Deprecated: read data instead. Kept while the one known consumer migrates, and removed in a future release.

paginationobject

Errors