Claim a badge for this account.
Required scope: badges.write
.
curl --request PATCH \
--url https://api.other.page/v1/account/badges/{badgeId}/claim \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"accountId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"earnedAt": "<string>",
"claimedAt": "<string>",
"requirements": [
{
"items": [
{
"link": "<string>",
"tokenId": "<string>",
"contract": "<string>",
"thumbnail": "<string>"
}
],
"title": "<string>",
"meta": {},
"total": 123,
"completedAt": "2023-11-07T05:31:56Z"
}
],
"badge": {
"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>"
]
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
curl --request PATCH \
--url https://api.other.page/v1/account/badges/{badgeId}/claim \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"accountId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"earnedAt": "<string>",
"claimedAt": "<string>",
"requirements": [
{
"items": [
{
"link": "<string>",
"tokenId": "<string>",
"contract": "<string>",
"thumbnail": "<string>"
}
],
"title": "<string>",
"meta": {},
"total": 123,
"completedAt": "2023-11-07T05:31:56Z"
}
],
"badge": {
"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>"
]
]
}
}
Claim a badge for this account.
Required scope: badges.write
.
curl --request PATCH \
--url https://api.other.page/v1/account/badges/{badgeId}/claim \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"accountId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"earnedAt": "<string>",
"claimedAt": "<string>",
"requirements": [
{
"items": [
{
"link": "<string>",
"tokenId": "<string>",
"contract": "<string>",
"thumbnail": "<string>"
}
],
"title": "<string>",
"meta": {},
"total": 123,
"completedAt": "2023-11-07T05:31:56Z"
}
],
"badge": {
"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>"
]
]
}
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
The response is of type object
.
curl --request PATCH \
--url https://api.other.page/v1/account/badges/{badgeId}/claim \
--header 'Authorization: Bearer <token>'
{
"id": "<string>",
"accountId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"earnedAt": "<string>",
"claimedAt": "<string>",
"requirements": [
{
"items": [
{
"link": "<string>",
"tokenId": "<string>",
"contract": "<string>",
"thumbnail": "<string>"
}
],
"title": "<string>",
"meta": {},
"total": 123,
"completedAt": "2023-11-07T05:31:56Z"
}
],
"badge": {
"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>"
]
]
}
}