GET
/
community
/
{id}
/
badge
curl --request GET \
  --url https://api.other.page/v1/community/{id}/badge \
  --header 'X-Api-Key: <api-key>'
{
  "total": 123,
  "perPage": 123,
  "page": 123,
  "results": [
    {
      "id": "<string>",
      "name": "<string>",
      "image": "<string>",
      "rewards": [
        {
          "id": "<string>",
          "image": "<string>",
          "provider": "Thank APE",
          "providerImage": "<string>",
          "name": "<string>",
          "type": "native",
          "status": "open",
          "vaultId": "<string>",
          "contract": "<string>",
          "chainId": "<string>",
          "amount": [
            123
          ],
          "description": "<string>",
          "endDate": "2023-11-07T05:31:56Z",
          "maxSpend": 123,
          "transactionHash": "<string>",
          "deletedAt": "2023-11-07T05:31:56Z",
          "sentAt": "2023-11-07T05:31:56Z"
        }
      ],
      "requirements": [
        [
          "<any>"
        ]
      ]
    }
  ]
}

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

Query Parameters

page
number

Page of results to return.

perPage
string

Number of items per page to return. Defaults to 100.

Response

200 - application/json

The response is of type object.