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

Authorization
string
header
required

Your Goody API key.

Query Parameters

page
integer
default:
1

Page for pagination, starting at 1

Required range: x >= 1
per_page
integer
default:
20

Items per page for pagination

Required range: 1 <= x <= 100

Response

200
application/json
Cards retrieved
data
object[]
list_meta
object