---
title: "follow object or cancel follow operation"
method: POST
path: "/answer/api/v1/follow"
tags: ["Activity"]
---

# follow object or cancel follow operation

`POST /answer/api/v1/follow`

follow object or cancel follow operation

## Request body

- SchemaFollowReq
  - `is_cancel` boolean — is cancel
  - `object_id` string, required — object id

## Response `200`

OK

- object
  - `code` integer — http code
  - `data` object — response data
    - `follows` integer — the followers of object
    - `is_followed` boolean — if user is followed object will be true,otherwise false
  - `msg` string — response message
  - `reason` string — reason key

---

[API](https://skmtc.net/apache/apis/apache-answer.md) · [All operations](https://skmtc.net/apache/apis/apache-answer/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/apache/apache-answer/versions/e9c2980e6571/schema)
