cURL
curl --request POST \ --url https://merits.blockscout.com/admin/api/v1/codes \ --header 'Authorization: <api-key>' \ --header 'Content-Type: application/json' \ --data '{ "code": "<string>", "bonus": "<string>", "limit": 123 }'
{ "code": "<string>" }
Authentication token, prefixed by Bearer: Bearer <token>
A successful response.
The response is of type object.
object
Was this page helpful?