Badges
Get Badges
API Reference
Connect
Account
Communities
- GETGet communities
- GETGet a community
- GETGet community members
- POSTAdd community member
- POSTBulk add community members
- GETGet community member
- GETGet community member tokens
- GETGet community member badges
- GETGet community tags
- POSTCreate a community tag
- GETGet a community tag
- DELDelete a community tag
- GETGet members by tag
- POSTAdd a tag to community members
- DELRemove tag from a member
Community Badges
- GETGet badges
- POSTCreate Badge
- GETGet badge
- DELDelete badge
- PATCHUpdate badge
- GETGet badge rewards
- POSTCreate badge Reward
- GETGet badge reward
- DELDelete badge reward
- PATCHUpdate badge reward
- GETGet badge attributions
- POSTCreate badge attribution
- PATCHUpdate badge attribution
- GETGet a badge attribution by metadata property
- GETGet a badge attribution
- GETGet badge leaderboard
- GETGenerate badge attribution code
Community Collections
Community Payments
Metadata
Badges
Get Badges
Badge endpoints are used to retrieve information about badges, their associated rewards, and member attributions.
Global Badge endpoints are only available for reward provider partners.
Use the form below to integrate your rewards into Other Page Badges.
Reward Provider Application.GET
/
badges
curl --request GET \
--url https://api.other.page/v1/badges \
--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
Query Parameters
Page of results to return.
Number of items per page to return. Defaults to 100.
Response
200 - application/json
Available options:
Thank APE
, Vault
Available options:
native
, erc20
, erc721
, erc1155
, points
Available options:
open
, pending
, sent
curl --request GET \
--url https://api.other.page/v1/badges \
--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>"
]
]
}
]
}