---
title: "Subscribe this channel to webhooks"
method: POST
path: "/v1/social-accounts/{id}/webhook"
tags: ["Channels"]
---

# Subscribe this channel to webhooks

`POST /v1/social-accounts/{id}/webhook`

## Request

- Base URL: `https://api.postlake.dev`
- URL: `https://api.postlake.dev/v1/social-accounts/{id}/webhook`
- Auth: `bearerAuth` (a scheme the document does not define)

Some networks need the subscription on the ACCOUNT as well as the app. Facebook is the case: subscribing the app is not enough, the Page has to be subscribed too or nothing is ever delivered, however well the callback is configured. Defaults to feed, mention and messages.

## Path parameters

- `id` string, required

## Request body

- object
  - `fields` string[]: Which events to subscribe to. Defaults to feed, mention, messages.

## Response `200`

Subscribed

- object
  - `subscribed` boolean, required
  - `fields` string[], required

---

[API](https://skmtc.dev/postlake/apis/postlake-api.md) · [All operations](https://skmtc.dev/postlake/apis/postlake-api/llms.txt) · [OpenAPI document](https://skmtc.dev/postlake/apis/postlake-api/revisions/f81060e31f69?raw)
