Communities::Membership
Create Membership
Changed onAdd a contact as a member of a community
post/communities/{community_id}/memberships
Request
- Base URLhttps://myworkspace.myclickfunnels.com/api/v2
- Auth
- HTTP bearer
- or OAuth 2Authorization codehttps://accounts.myclickfunnels.com/oauth/authorizeToken URLhttps://accounts.myclickfunnels.com/oauth/token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
community_idstring required
Request body
Example request
{
"communities_membership": {
"communities_membership": {
"contact_id": "GhIjKl",
"moderator": false,
"space_ids": [
"SpAcEa",
"SpAcEb"
]
}
}
}Response
Created
Example response
{
"id": 101,
"public_id": "AbCdEf",
"community_id": 1,
"moderator": false,
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z",
"contact": {
"id": 55,
"public_id": "GhIjKl",
"email_address": "member@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone_number": null
}
}Changes
- info
for the
pathrequest parametercommunity_id, the type was generalized fromintegertostring - info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info