List wishlists
curl --request GET \
--url https://web.onio.app/api/v1/wishlists \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://web.onio.app/api/v1/wishlists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://web.onio.app/api/v1/wishlists"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3f6c1a52-8d1e-4b7a-9c2e-1f5d7a9b0c41",
"title": "Birthday 2027",
"occasion": "birthday",
"notes": "Anything green is great.",
"status": "published",
"createdAt": "2026-11-02T09:15:00.000Z",
"updatedAt": "2026-11-10T18:42:00.000Z"
}
],
"nextCursor": "MjAyNi0xMS0wMlQwOToxNTowMC4wMDBafDNmNmMxYTUy"
}{
"statusCode": 400,
"message": "Invalid `limit` or `cursor`",
"error": "Bad Request"
}{
"statusCode": 401,
"message": "Missing or invalid access token",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "Access token lacks the required scope",
"error": "Forbidden"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}Wishlists
List wishlists
Returns the wishlists you own, oldest first. Lists that others share with you are not included.
List wishlists
curl --request GET \
--url https://web.onio.app/api/v1/wishlists \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://web.onio.app/api/v1/wishlists', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://web.onio.app/api/v1/wishlists"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"data": [
{
"id": "3f6c1a52-8d1e-4b7a-9c2e-1f5d7a9b0c41",
"title": "Birthday 2027",
"occasion": "birthday",
"notes": "Anything green is great.",
"status": "published",
"createdAt": "2026-11-02T09:15:00.000Z",
"updatedAt": "2026-11-10T18:42:00.000Z"
}
],
"nextCursor": "MjAyNi0xMS0wMlQwOToxNTowMC4wMDBafDNmNmMxYTUy"
}{
"statusCode": 400,
"message": "Invalid `limit` or `cursor`",
"error": "Bad Request"
}{
"statusCode": 401,
"message": "Missing or invalid access token",
"error": "Unauthorized"
}{
"statusCode": 403,
"message": "Access token lacks the required scope",
"error": "Forbidden"
}{
"statusCode": 429,
"message": "ThrottlerException: Too Many Requests"
}