Order Batches
Payment Methods
Commerce User Payment Methods
Workspaces
Schemas
- Schemas
Cards
List all active cards
GET
/
v1
/
cards
curl --request GET \
--url https://api.ongoody.com/v1/cards \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "2bd48eab-b8d8-499e-9282-909cd856153c",
"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"
]
},
{
"id": "c0cde2c1-1883-42ba-8741-459044bed309",
"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": []
}
],
"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
The response is of type object
.
curl --request GET \
--url https://api.ongoody.com/v1/cards \
--header 'Authorization: Bearer <token>'
{
"data": [
{
"id": "2bd48eab-b8d8-499e-9282-909cd856153c",
"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"
]
},
{
"id": "c0cde2c1-1883-42ba-8741-459044bed309",
"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": []
}
],
"list_meta": {
"total_count": 2
}
}
Assistant
Responses are generated using AI and may contain mistakes.