{ "opencollection": "1.0.0", "info": { "name": "Harbor Challenges API", "version": "v1" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Challenges", "type": "folder" }, "items": [ { "info": { "name": "Harbor List challenges", "type": "http" }, "http": { "method": "GET", "url": "https://api.harbor.gg/v1/communities/:communityId/challenges", "params": [ { "name": "communityId", "value": "", "type": "path", "description": "The unique identifier of the Harbor community." }, { "name": "status", "value": "", "type": "query", "description": "Filter by challenge status." } ] }, "docs": "Returns all challenges configured for the community, including their point values, completion criteria, and active status. Challenges can be one-time or repeatable and cover actions like following social accounts, making purchases, or attending events." }, { "info": { "name": "Harbor Create a challenge", "type": "http" }, "http": { "method": "POST", "url": "https://api.harbor.gg/v1/communities/:communityId/challenges", "params": [ { "name": "communityId", "value": "", "type": "path", "description": "The unique identifier of the Harbor community." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Creates a new challenge for community members to complete and earn points. Challenges can be one-time or repeatable, can have optional verification requirements, and support various completion action types." }, { "info": { "name": "Harbor Mark a challenge as completed by a member", "type": "http" }, "http": { "method": "POST", "url": "https://api.harbor.gg/v1/communities/:communityId/challenges/:challengeId/complete", "params": [ { "name": "communityId", "value": "", "type": "path", "description": "The unique identifier of the Harbor community." }, { "name": "challengeId", "value": "", "type": "path", "description": "The unique identifier of the challenge." } ], "body": { "type": "json", "data": "{}" } }, "docs": "Records that a specific member has completed the given challenge and awards the configured points to that member. If the challenge requires verification, proof must be provided. Idempotent for one-time challenges — duplicate completion requests are ignored." } ] } ], "bundled": true }