Communities::Spaces::Post::Like
Create Post Like
Changed onLike a post. The contact_id is optional and defaults to the connected user's own contact.
post/communities/spaces/posts/{post_id}/likes
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
post_idstring required
Request body
Example request
{
"communities_spaces_posts_like": {
"communities_spaces_posts_like": {}
}
}Response
Created
Example response
{
"id": 301,
"public_id": "StUvWx",
"post_id": 101,
"contact": {
"id": 55,
"public_id": "GhIjKl",
"email_address": "jane@example.com",
"first_name": "Jane",
"last_name": "Doe",
"phone_number": null
},
"created_at": "2025-01-01T00:00:00.000Z",
"updated_at": "2025-01-01T00:00:00.000Z"
}Changes
- info
for the
pathrequest parameterpost_id, the type was generalized fromintegertostring - info
added the optional property
to the response with the status
- info