GET /v1/favorites/{id}
One favorite.
| Access | |
|---|---|
| Keys | publishable or secret |
| Plan | every plan |
| Environment | live and sandbox |
| Acts for | one consumer |
| While the account is suspended | works |
| During a data stop | works |
Path
| Name | Type | Description |
|---|---|---|
id |
string | Required. The favorite's ID, "fav_…". |
Headers
| Name | Description |
|---|---|
X-Client-Token |
With a publishable key: required. A token your server minted for the consumer with POST /v1/client-tokens. |
X-Client-Id |
With a secret key: required. Your own opaque ID for the consumer. |
Answers
200: The favorite
The answer is { data, meta }; meta holds requestId and environment.
data is a Favorite.
Errors
Every error has the same body, and says how to fix it (responses and errors).
More
One favorite, or 404 not_found. IDs are random (fav_…); an ID from another account or
another consumer is 404, never 403.
This page is made from the route's own declaration by npm run openapi. To change it, change the declaration or its explanation, never this file.