Admin

Grant credits to user (Admin)

Grants new credits to a user for completing a specific goal. Requires bearer token authentication with API_ADMIN_TOKEN.

post/users/{address}/credits

Path parameters

addressstring required

User's Ethereum address

Request body

goalIdstring required

ID of the goal that was completed

Response

Credits granted successfully

signaturestring

Credit signature for on-chain verification

expiresAtnumber

Credit expiration timestamp

seasonIdnumber
creditIdstring

Changes

No recorded changes to this endpoint across all 1 revision of this API.