Skip to main content
GET
/
v1
/
campaigns
/
{campaign}
/
items
/
tickets
List all campaign tickets
curl --request GET \
  --url https://api.givebutter.com/v1/campaigns/{campaign}/items/tickets \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "campaign_id": "<string>",
      "name": "<string>",
      "description": "<string>",
      "price": "<string>",
      "total_quantity": "<string>",
      "subtype": "<string>",
      "active": "<string>",
      "retail_price": "<string>",
      "bundle_only": "<string>",
      "hide_remaining": "<string>",
      "scope": "<string>",
      "bundles": "<string>",
      "custom_fields": "<string>",
      "pictures": "<string>"
    }
  ],
  "links": {
    "first": "<string>",
    "last": "<string>",
    "prev": "<string>",
    "next": "<string>"
  },
  "meta": {
    "current_page": 2,
    "from": 2,
    "last_page": 2,
    "links": [
      {
        "url": "<string>",
        "label": "<string>",
        "active": true
      }
    ],
    "path": "<string>",
    "per_page": 1,
    "to": 2,
    "total": 1
  }
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

campaign
integer
required

The campaign ID

Response

Paginated set of CampaignItemTicketResource

data
CampaignItemTicketResource · object[]
required
meta
object
required