GET
/
community
/
{id}
/
badge
/
{badgeId}
/
reward
curl --request GET \
  --url https://api.other.page/v1/community/{id}/badge/{badgeId}/reward \
  --header 'X-Api-Key: <api-key>'
[
  {
    "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"
  }
]

Authorizations

X-Api-Key
string
header
required

Path Parameters

id
string
required

Community ID

badgeId
string
required

Badge ID

Response

200 - application/json
Badge rewards retrieved successfully
id
string
required
image
string
required
provider
enum<string>
required
Available options:
Thank APE,
Vault
providerImage
string
required
name
string
required
type
enum<string>
required
Available options:
native,
erc20,
erc721,
erc1155,
points
status
enum<string>
required
Available options:
open,
pending,
sent
amount
number[]
required
description
string
required
endDate
string
required
maxSpend
number
required
vaultId
string
contract
string
chainId
string
transactionHash
string
deletedAt
string
sentAt
string