Communities::Spaces::Post
Create Post
Changed onCreate a post in a space. Posts created via the API are auto-approved. The contact_id is optional and defaults to the connected user's own contact.
post/communities/spaces/{space_id}/posts
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
space_idstring required
Request body
Example request
{
"communities_spaces_post": {
"communities_spaces_post": {
"title": "Welcome to the community!",
"body": "<p>Hi everyone, excited to be here.</p>"
}
}
}Response
Created
Example response
{
"id": 101,
"public_id": "AbCdEf",
"contact_id": 55,
"title": "Welcome to the community!",
"body": "Hi everyone, excited to be here.",
"url": "https://example.myclickfunnels.com/communities/posts/AbCdEf",
"contact": {
"id": 55,
"public_id": "GhIjKl",
"email_address": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone_number": null
},
"group": {
"id": 1,
"public_id": "BcDeFg",
"name": "General"
},
"topic": {
"id": 2,
"public_id": "CdEfGh",
"name": "Introductions"
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Changes
- info
for the
pathrequest parameterspace_id, the type was generalized fromintegertostring - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info