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

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

The response is of type object.