Zealy API
  • Introduction
  • Authentication
  • Use cases
  • Rate limits
  • Pagination
  • FAQ
  • API Reference
    • Communities
      • Community lookup
      • Community member check
      • Community Secret Retrieval
      • Community Secret Creation
    • Users
      • User lookup
      • Add & Remove XP
      • Ban user
      • Referral code
      • Delete Zealy Connect for member
    • Leaderboards
      • Retrieve a leaderboard
      • List sprints
    • Reviews
      • Claimed quests lookup
      • Review a submission
      • Review events
    • Modules
    • Quests
      • Create quest
      • Update quest
      • List quests
    • Webhooks
Powered by GitBook
On this page

Was this helpful?

  1. API Reference
  2. Communities

Community Secret Creation

PreviousCommunity Secret RetrievalNextUsers

Last updated 2 months ago

Was this helpful?

Overview

This endpoint allows you to create a community secret used for api task.

You need to be an admin of the community to call this endpoint.

API Reference

post
Path parameters
subdomainstringRequired
Header parameters
x-api-keystringRequired
Responses
201
201
application/json
400
400
application/json
401
401
application/json
403
403
application/json
404
404
application/json
409
409
application/json
429
429
application/json
500
500
application/json
post
POST /public/communities/{subdomain}/secrets HTTP/1.1
Host: api-v2.zealy.io
x-api-key: text
Accept: */*
{
  "secret": "text",
  "prefix": "text",
  "createdAt": "text"
}
  • Overview
  • API Reference
  • POST/public/communities/{subdomain}/secrets