GET
/
admin
/
api
/
v1
/
codes
cURL
curl --request GET \
  --url https://merits.blockscout.com/admin/api/v1/codes \
  --header 'Authorization: <api-key>'
{
  "items": [
    {
      "code": "<string>",
      "bonus": "<string>",
      "limit": 123,
      "count": 123
    }
  ]
}

Authorizations

Authorization
string
header
required

Authentication token, prefixed by Bearer: Bearer <token>

Response

200
application/json

A successful response.

The response is of type object.