Create community
/manage/communitiesCreate a community. The creator is automatically added as an ADMIN member. No additional permission is required beyond being signed in.
| Auth | Login required |
|---|
Request body
namestringrequiredCommunity name (required); up to 50 characters.
joinTypestringOne of APPROVAL_REQUIRED / FREE_JOIN / INVITATION_ONLY (required on create).
visibilitystringOne of PUBLIC / PRIVATE / LIMITED.
descriptionstringDescription; up to 500 characters.
languagesobjectLocalized name / description.
logoUrlstringLogo image URL; must be a valid URL.
contactobjectContact information.
tagsstring[]Array of tag names.
slugstring3–200 characters; lowercase alphanumerics, hyphens and underscores only (^[a-z0-9-_]+$). Must be unique.
Object structures
contact / organizerContact
Contact details. Pass an array of objects (up to 10). A single object is also accepted for backwards compatibility.
labelstringDisplay label (e.g. "Support")
emailstringEmail address.
urlstringURL, e.g. a contact form.
x / instagram / facebook / youtubestringOfficial social accounts.
languagesobjectLocalized labels ({ [lang]: { label } })
[
{
"label": "お問い合わせ",
"email": "contact@example.com",
"languages": { "en": { "label": "Contact" } }
}
]languages
Keyed by language code; each entry overrides the title / description shown for that language. Languages you omit fall back to the default fields.
<lang>objectLanguage code (ja, en, …)
<lang>.titlestringTitle shown in that language.
<lang>.descriptionstringDescription shown in that language.
{
"ja": { "title": "オープニング基調講演", "description": "..." },
"en": { "title": "Opening Keynote", "description": "..." }
}curl https://api.4s.link/manage/communities \-X POST \-H "Authorization: Bearer 4s_at_..." \-H "Content-Type: application/json" \-d '{"name": "Tech Community","joinType": "FREE_JOIN","visibility": "PUBLIC"}'
{"id": "c1a2b3c4-...","slug": "tech-community","name": "Tech Community","description": "...","joinType": "FREE_JOIN","visibility": "PUBLIC","logoUrl": "https://.../logo.png","logoDarkUrl": null,"enabledChat": true,"tags": []}