
post
/v4/campaigns/{id}/access/grant
Grant access to a private campaign for a specific address.
Request body
userAddressstringrequired
Ethereum address to grant/revoke access
canManageAccessbooleandefault: falseWhether the user can manage (grant/revoke) access for others
truefalseResponses
200Response for status 200
Schema
object
successbooleanrequired
messagestringrequired
Example
{
"success": false,
"message": "string"
}post
https://api.merkl.xyz/v4/campaigns/{id}/access/grantcurl -X POST "https://api.merkl.xyz/v4/campaigns/{id}/access/grant" \
-H "Content-Type: application/json" \
-d '{ "userAddress": "0xd93814273b33DD33B32cD345225CfB65DEB048Dd", "canManageAccess": false }'Live request: this will call https://api.merkl.xyz/ for real.