Skip to main content

Snag Solutions - API Docs (v 0.1)


What’s Changed


POST /api/loyalty/rules//complete
Return Type:
Changed response : 400 Bad Request
400
  • Changed content type : application/json
    • Changed property message (string)
      Categorized examples of messages that may be returned for a loyalty rule’s processing result. possible messages: ‘loyaltyRuleId must be a uuid’, ‘Loyalty rule has expired’, ‘Loyalty rule has not started yet’, ‘Only external rules can have amount override’, ‘Only external rules can have idempotency key override’, ‘Loyalty currency not found’, ‘Api key is required to skip chain or required check’, ‘Access restricted. Your account is blocked.’, ‘Please complete other required rules to unlock this quest.’, ‘Unfortunately, this quest is only available for new users’, “Unfortunately, we couldn’t verify the code you entered. Please ensure it’s correct and try again”, ‘Invalid Verification, try again’, ‘Quest not completed’, ‘You have already clicked the link, please wait for the reward to be processed’, ‘Check-in amount rule cannot be completed when amount is 0’, ‘Twitter not connected’, ‘Phone not connected or not verified’, ‘Instagram not connected’, ‘Telegram not connected’, ‘Discord not connected’, ‘Epic not connected’, ‘Email not verified’, ‘GitHub not connected’, ‘Youtube not connected’, ‘Reddit not connected’, ‘Comment link is required’, ‘TikTok not connected’, ‘Twitter not connected or content url is required’, ‘Steam not connected’, ‘Email not connected or not verified’, ‘No choice selected’, ‘Question not found’, ‘Invalid choice selected’, ‘Claim on token hold is not supported for Sui’, ‘Claim on token hold is not supported for paid full royalty or native purchases’, ‘Claim on token hold is only supported for multipliers’, ‘Rule is not setup’, ‘Quest not achieved, please try again.’, ‘Invalid request’
      Added enum values:
      • Loyalty rule {NAME} has not started yet
      • Api key is required to skip chain or required check
      • Access restricted. Your account is blocked.
      • Unfortunately, this quest is only available for new users
      • Quest not completed
      • Check-in amount rule cannot be completed when amount is 0
      • Phone not connected or not verified
      • Instagram not connected
      • Epic not connected
      • Email not verified
      • GitHub not connected
      • Youtube not connected
      • Reddit not connected
      • Comment link is required
      • TikTok not connected
      • Twitter not connected or content url is required
      • Email not connected or not verified
      • Rule is not setup
      • Quest not achieved, please try again.
GET /api/minting/contracts
Return Type:
Changed response : 200 OK
200
  • Changed content type : application/json
    • Changed property data (array) Changed items (object): New required properties:
      • perUserMintLimit
      • Added property perUserMintLimit (integer)

Result


API changes broke backward compatibility