GET
/
admin
/
api
/
v1
/
offers
/
{offer_id}
/
secrets
cURL
curl --request GET \
  --url https://merits.blockscout.com/admin/api/v1/offers/{offer_id}/secrets \
  --header 'Authorization: <api-key>'
{
  "items": [
    {
      "secret_id": 123,
      "offer_id": "<string>",
      "details": "<string>",
      "is_redeemed": true
    }
  ],
  "next_page_params": {
    "page_token": "<string>",
    "page_size": 123
  }
}

Authorizations

Authorization
string
header
required

Authentication token, prefixed by Bearer: Bearer <token>

Path Parameters

offer_id
string
required

Query Parameters

is_redeemed
boolean
page_size
integer
page_token
string

Response

200
application/json

A successful response.

The response is of type object.