Cards
List all active cards
Cards
List all active cards
GET
/
v1
/
cards
curl --request GET \
--url https://api.ongoody.com/v1/cards \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "6ce344ec-fe2b-4856-af4e-5f8cf9b36296",
"image": {
"url": "https://assets.ongoody.com/cards/111.png?format=png",
"width": 800,
"height": 1130
},
"image_thumb": {
"url": "https://assets.ongoody.com/cards/111.png?width=200&format=png",
"width": 200,
"height": 283
},
"occasions": []
},
{
"id": "7fbbbcc1-3f09-4917-af4d-41d72be911bd",
"image": {
"url": "https://assets.ongoody.com/cards/222.png?format=png",
"width": 800,
"height": 1130
},
"image_thumb": {
"url": "https://assets.ongoody.com/cards/222.png?width=200&format=png",
"width": 200,
"height": 283
},
"occasions": [
"Congratulations",
"Onboarding"
]
}
],
"list_meta": {
"total_count": 2
}
}
Authorizations
Your Goody API key.
Query Parameters
Page for pagination, starting at 1
Required range:
x >= 1
Items per page for pagination
Required range:
1 <= x <= 100
Response
200
application/json
Cards retrieved
An array of occasions that this card is relevant for.
curl --request GET \
--url https://api.ongoody.com/v1/cards \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "6ce344ec-fe2b-4856-af4e-5f8cf9b36296",
"image": {
"url": "https://assets.ongoody.com/cards/111.png?format=png",
"width": 800,
"height": 1130
},
"image_thumb": {
"url": "https://assets.ongoody.com/cards/111.png?width=200&format=png",
"width": 200,
"height": 283
},
"occasions": []
},
{
"id": "7fbbbcc1-3f09-4917-af4d-41d72be911bd",
"image": {
"url": "https://assets.ongoody.com/cards/222.png?format=png",
"width": 800,
"height": 1130
},
"image_thumb": {
"url": "https://assets.ongoody.com/cards/222.png?width=200&format=png",
"width": 200,
"height": 283
},
"occasions": [
"Congratulations",
"Onboarding"
]
}
],
"list_meta": {
"total_count": 2
}
}