Maton

ManyChat

Access the ManyChat API with managed authentication. Manage subscribers, tags, custom fields, flows, and send messages through chat automation.

Reference

Get Page Info

GET /manychat/fb/page/getInfo

Rate limit: 100 queries per second

Response:

{
  "status": "success",
  "data": {
    "id": 123456789,
    "name": "Page Name",
    "category": "Business",
    "avatar_link": "https://...",
    "username": "pagename",
    "about": "About text",
    "description": "Page description",
    "is_pro": true,
    "timezone": "America/New_York"
  }
}

List Tags

GET /manychat/fb/page/getTags

Rate limit: 100 queries per second

Response:

{
  "status": "success",
  "data": [
    {"id": 1, "name": "VIP"},
    {"id": 2, "name": "Customer"}
  ]
}

Create Tag

POST /manychat/fb/page/createTag
Content-Type: application/json

{
  "name": "New Tag"
}

Rate limit: 10 queries per second

Remove Tag from Page

POST /manychat/fb/page/removeTag
Content-Type: application/json

{
  "tag_id": 123
}

Rate limit: 10 queries per second. Removes tag from page and all subscribers.

Remove Tag by Name

POST /manychat/fb/page/removeTagByName
Content-Type: application/json

{
  "tag_name": "Old Tag"
}

Rate limit: 10 queries per second

List Custom Fields

GET /manychat/fb/page/getCustomFields

Rate limit: 100 queries per second

Response:

{
  "status": "success",
  "data": [
    {"id": 1, "name": "phone_number", "type": "text"},
    {"id": 2, "name": "purchase_count", "type": "number"}
  ]
}

Create Custom Field

POST /manychat/fb/page/createCustomField
Content-Type: application/json

{
  "caption": "Phone Number",
  "type": "text",
  "description": "Customer phone number"
}

Rate limit: 10 queries per second

Field Types: text, number, date, datetime, boolean

List Bot Fields

GET /manychat/fb/page/getBotFields

Rate limit: 100 queries per second

Create Bot Field

POST /manychat/fb/page/createBotField
Content-Type: application/json

{
  "name": "counter",
  "type": "number",
  "description": "Global counter",
  "value": 0
}

Rate limit: 10 queries per second

Set Bot Field

POST /manychat/fb/page/setBotField
Content-Type: application/json

{
  "field_id": 123,
  "field_value": 42
}

Rate limit: 10 queries per second

Set Bot Field by Name

POST /manychat/fb/page/setBotFieldByName
Content-Type: application/json

{
  "field_name": "counter",
  "field_value": 42
}

Rate limit: 10 queries per second

Set Multiple Bot Fields

POST /manychat/fb/page/setBotFields
Content-Type: application/json

{
  "fields": [
    {"field_id": 123, "field_value": "value1"},
    {"field_name": "field2", "field_value": "value2"}
  ]
}

Rate limit: 10 queries per second. Maximum 20 fields per request.

List Flows

GET /manychat/fb/page/getFlows

Rate limit: 10 queries per second

Response:

{
  "status": "success",
  "data": {
    "flows": [
      {"ns": "content123456", "name": "Welcome Flow", "folder_id": 1}
    ],
    "folders": [
      {"id": 1, "name": "Main Folder"}
    ]
  }
}

List Growth Tools

GET /manychat/fb/page/getGrowthTools

Rate limit: 100 queries per second

List OTN Topics

GET /manychat/fb/page/getOtnTopics

Rate limit: 100 queries per second

Get Subscriber Info

GET /manychat/fb/subscriber/getInfo?subscriber_id=123456789

Rate limit: 10 queries per second

Response:

{
  "status": "success",
  "data": {
    "id": 123456789,
    "name": "John Doe",
    "first_name": "John",
    "last_name": "Doe",
    "gender": "male",
    "profile_pic": "https://...",
    "subscribed": "2025-01-15T10:30:00Z",
    "last_interaction": "2025-02-01T14:20:00Z",
    "tags": [{"id": 1, "name": "VIP"}],
    "custom_fields": [{"id": 1, "name": "phone", "value": "+1234567890"}]
  }
}

Find Subscriber by Name

GET /manychat/fb/subscriber/findByName?name=John%20Doe

Rate limit: 10 queries per second. Maximum 100 results.

Find Subscriber by Custom Field

GET /manychat/fb/subscriber/findByCustomField?field_id=123&field_value=value

Rate limit: 10 queries per second. Works with Text and Number fields. Maximum 100 results.

Find Subscriber by System Field

GET /manychat/fb/subscriber/findBySystemField?email=john@example.com
GET /manychat/fb/subscriber/findBySystemField?phone=+1234567890

Rate limit: 50 queries per second. Set either email OR phone parameter.

Get Subscriber by User Ref

GET /manychat/fb/subscriber/getInfoByUserRef?user_ref=123456

Create Subscriber

POST /manychat/fb/subscriber/createSubscriber
Content-Type: application/json

{
  "first_name": "John",
  "last_name": "Doe",
  "phone": "+1234567890",
  "email": "john@example.com",
  "gender": "male",
  "has_opt_in_sms": true,
  "has_opt_in_email": true,
  "consent_phrase": "I agree to receive messages"
}

Rate limit: 10 queries per second

Note: Importing subscribers with phone or email requires special permissions from ManyChat. Contact ManyChat support to enable this feature for your account.

Update Subscriber

POST /manychat/fb/subscriber/updateSubscriber
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "first_name": "John",
  "last_name": "Smith",
  "phone": "+1234567890",
  "email": "john.smith@example.com"
}

Rate limit: 10 queries per second

Add Tag to Subscriber

POST /manychat/fb/subscriber/addTag
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "tag_id": 1
}

Rate limit: 10 queries per second

Add Tag by Name

POST /manychat/fb/subscriber/addTagByName
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "tag_name": "VIP"
}

Rate limit: 10 queries per second

Remove Tag from Subscriber

POST /manychat/fb/subscriber/removeTag
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "tag_id": 1
}

Rate limit: 10 queries per second

Remove Tag by Name

POST /manychat/fb/subscriber/removeTagByName
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "tag_name": "VIP"
}

Rate limit: 10 queries per second

Set Custom Field

POST /manychat/fb/subscriber/setCustomField
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "field_id": 1,
  "field_value": "+1234567890"
}

Rate limit: 10 queries per second

Set Custom Field by Name

POST /manychat/fb/subscriber/setCustomFieldByName
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "field_name": "phone_number",
  "field_value": "+1234567890"
}

Rate limit: 10 queries per second

Set Multiple Custom Fields

POST /manychat/fb/subscriber/setCustomFields
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "fields": [
    {"field_id": 1, "field_value": "value1"},
    {"field_name": "field2", "field_value": "value2"}
  ]
}

Rate limit: 10 queries per second. Maximum 20 fields per request.

Verify Subscriber by Signed Request

POST /manychat/fb/subscriber/verifyBySignedRequest
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "signed_request": "signed_request_token"
}

Rate limit: 10 queries per second

Send Content

POST /manychat/fb/sending/sendContent
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "data": {
    "version": "v2",
    "content": {
      "messages": [
        {
          "type": "text",
          "text": "Hello! How can I help you today?"
        }
      ]
    }
  },
  "message_tag": "CONFIRMED_EVENT_UPDATE"
}

Rate limit: 25 queries per second

Message Tags: Required for sending outside the 24-hour messaging window

  • CONFIRMED_EVENT_UPDATE
  • POST_PURCHASE_UPDATE
  • ACCOUNT_UPDATE

OTN (One-Time Notification):

{
  "subscriber_id": 123456789,
  "data": {...},
  "otn_topic_name": "Price Drop Alert"
}

Send Content by User Ref

POST /manychat/fb/sending/sendContentByUserRef
Content-Type: application/json

{
  "user_ref": 123456,
  "data": {
    "version": "v2",
    "content": {
      "messages": [
        {
          "type": "text",
          "text": "Welcome!"
        }
      ]
    }
  }
}

Rate limit: 25 queries per second

Send Flow

POST /manychat/fb/sending/sendFlow
Content-Type: application/json

{
  "subscriber_id": 123456789,
  "flow_ns": "content123456"
}

Rate limit: 20 queries per second, maximum 100 per subscriber per hour

Resources

On this page