v1

latestOpenAPI 3.1.0MIT2026-07-243952451019.0 KB
Communities::Spaces::Post::Like

Create Post Like

Like a post. The contact_id is optional and defaults to the connected user's own contact.

post/communities/spaces/posts/{post_id}/likes

Path parameters

post_idinteger required

Request body

Example request

{
  "communities_spaces_posts_like": {
    "communities_spaces_posts_like": {}
  }
}

Response

Created

idinteger

Like ID

public_idstring nullable

Like public ID

post_idinteger

ID of the Post that was liked

created_atstring date-time nullable

Created at

updated_atstring date-time nullable

Updated at

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"
}