---
title: "Add Bot To Messager Page"
method: POST
path: "/api/integration/messager/{bot_id}"
tags: ["Integration"]
---

# Add Bot To Messager Page

`POST /api/integration/messager/{bot_id}`

Add a bot to a messager page.

## Path parameters

- `bot_id` string, uuid, required

## Request body

- IntegrationMessagerCreateSchema — Schema for creating an integration messenger.
  - `facebook_user_id` string, required — Facebook user identifier.
  - `access_token` string, required — Access token for the integration.

## Response `200`

Successful Response

- HttpResponseSchema — HTTP Response Schema.
  - `message_code` integer, required — Numeric code indicating the type of message or response.
  - `message` string, required — Human-readable message providing additional context about the response.
  - `data` unknown

## Other responses

- `422` — Validation Error

## Changes

> 3 revisions in range; 1 not diffed.

- **2023-11-13** `ac1f1ab68fcb` — 2 info
  - the endpoint scheme security `OAuth2PasswordBearerCookie` was added to the API
  - the endpoint scheme security `BasicAuth` was removed from the API
- **2023-11-08** `dbd91277da05` — 6 breaking, 4 warning, 4 info
  - added the new required request property `bot_id`
  - added the new required request property `page_id`
  - added the new required request property `page_token`
  - the response's body type/format changed from `object`/`` to ``/`` for status `200`
  - …10 more

[Change history](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/changes/api/integration/messager/:bot_id/post.md)

---

[API](https://skmtc.dev/chat-fly/apis/chatfly-backend-application.md) · [All operations](https://skmtc.dev/chat-fly/apis/chatfly-backend-application/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/chat-fly/chatfly-backend-application/revisions/cbb37496f138/schema)
