---
title: "Create Post Like"
method: POST
path: "/communities/spaces/posts/{post_id}/likes"
tags: ["Communities::Spaces::Post::Like"]
---

# Create Post Like

`POST /communities/spaces/posts/{post_id}/likes`

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

## Path parameters

- `post_id` integer, required

## Request body

- object
  - `communities_spaces_posts_like` CommunitiesSpacesPostsLikeParameters — Communities::Spaces::Post::Like
    - `contact_id` integer, nullable — ID of the Contact to record the like for. Optional — defaults to the connected user's own contact.

## Response `201`

Created

- CommunitiesSpacesPostsLikeAttributes — Communities::Spaces::Post::Like
  - `id` integer — Like ID
  - `public_id` string, nullable — Like public ID
  - `post_id` integer — ID of the Post that was liked
  - `contact` object, nullable — Short representation of the Contact who liked the post, or null if the contact has been deleted
    - `id` integer — Contact ID
    - `public_id` string — 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
  - `created_at` string, date-time, nullable — Created at
  - `updated_at` string, date-time, nullable — Updated at

## Other responses

- `401` — Unauthorized

---

[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)
