---
title: "Create Membership"
method: POST
path: "/communities/{community_id}/memberships"
tags: ["Communities::Membership"]
---

# Create Membership

`POST /communities/{community_id}/memberships`

Add a contact as a member of a community

## Path parameters

- `community_id` integer, required

## Request body

- object
  - `communities_membership` CommunitiesMembershipParameters — Communities::Membership
    - `contact_id` string, required — Public ID of the Contact to add as a member
    - `moderator` boolean, nullable — Whether this member should have moderator privileges
    - `space_ids` string[], nullable — Array of Space public IDs the member should belong to. The membership form syncs the member's Space memberships to exactly this list — Spaces not in the list are removed, Spaces in the list are added.

## Response `201`

Created

- CommunitiesMembershipAttributes — Communities::Membership
  - `id` integer — Membership ID
  - `public_id` string, nullable — Membership public ID
  - `community_id` integer — ID of the Community this membership belongs to
  - `moderator` boolean, nullable — Whether this member has moderator privileges in the community
  - `created_at` string, date-time — Created at
  - `updated_at` string, date-time — Updated at
  - `contact` object, nullable — The member Contact (null if the contact has been removed)
    - `id` integer — Contact ID
    - `public_id` string, nullable — Contact public ID
    - `email_address` string, nullable — Contact email address
    - `first_name` string, nullable — Contact first name
    - `last_name` string, nullable — Contact last name
    - `phone_number` string, nullable — Contact phone number

## Other responses

- `401` — Unauthorized
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/myclickfunnels/apis/clickfunnels-api.md) · [All operations](https://skmtc.net/myclickfunnels/apis/clickfunnels-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myclickfunnels/clickfunnels-api/revisions/ae6313eaa176/schema)
