latestOpenAPI 3.1.02026-08-1013317298.0 KB

d94e0e0f1821

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