Infobip Messenger API

Grow your business with conversations on Messenger. To utilize Messenger in combination with other channels, check out Messages API. — 11 operation path(s) and 5 webhook(s) in Infobip's published OpenAPI.

OpenAPI Specification

infobip-messenger-openapi.json Raw ↑
{
 "openapi":"3.1.0",
 "info":{
  "title":"Infobip OpenAPI Specification",
  "description":"OpenAPI Specification that contains all public endpoints and webhooks.",
  "contact":{
   "name":"Infobip support",
   "email":"support@infobip.com"
  },
  "version":"3.210.0",
  "x-generatedAt":"2026-07-23T15:24:04.003346249Z"
 },
 "tags":[
  {
   "name":"channels",
   "description":"Create a perfect customer experience by using the channels your customer already use and love.\n",
   "x-type":"category",
   "x-displayName":"Channels"
  },
  {
   "name":"messenger",
   "description":"Grow your business with conversations on Messenger.\n\nTo utilize Messenger in combination with other channels, check out [Messages API](https://www.infobip.com/docs/api/platform/messages-api).\n",
   "x-type":"product",
   "x-displayName":"Messenger"
  },
  {
   "name":"send-messenger",
   "description":"",
   "x-type":"section",
   "x-displayName":"Outbound Message"
  },
  {
   "name":"logs-and-status-reports-messenger",
   "description":"",
   "x-type":"section",
   "x-displayName":"Logs and Status Reports"
  },
  {
   "name":"incoming-messenger-message",
   "description":"",
   "x-type":"section",
   "x-displayName":"Receive messenger message"
  },
  {
   "name":"incoming-messenger-event",
   "description":"",
   "x-type":"section",
   "x-displayName":"Receive messenger event"
  },
  {
   "name":"marketing-subscriptions-messenger",
   "description":"",
   "x-type":"section",
   "x-displayName":"Marketing subscriptions"
  },
  {
   "name":"campaigns-messenger",
   "description":"",
   "x-type":"section",
   "x-displayName":"Manage campaigns"
  },
  {
   "name":"marketing-ad-accounts-messenger",
   "description":"",
   "x-type":"section",
   "x-displayName":"Manage ad accounts"
  },
  {
   "name":"audiences-messenger",
   "description":"",
   "x-type":"section",
   "x-displayName":"Manage audiences"
  }
 ],
 "paths":{
  "/messenger/1/messages":{
   "post":{
    "tags":[
     "channels",
     "messenger",
     "send-messenger"
    ],
    "summary":"Send a Messenger message",
    "description":"Send one or more messages to multiple recipients. <br/> Marketing messages on Messenger are no longer available for new users. For existing users, this feature will be deprecated on January 12, 2026. After this date, marketing messages will fail with an error.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"send-messenger-message",
    "requestBody":{
     "content":{
      "application/json":{
       "schema":{
        "$ref":"#/components/schemas/747c7e4c0b03b254cdcbef02225bbd858a3bba6d956caa5ac2689fea92b213b0.FacebookRequest"
       },
       "examples":{
        "Send a Messenger message":{
         "summary":"Send a Messenger message",
         "value":{
          "messages":[
           {
            "sender":"OFFICIAL-ACCOUNT-ID-123",
            "destinations":[
             {
              "to":"66855538125"
             }
            ],
            "content":{
             "text":"Hello!",
             "type":"TEXT"
            }
           }
          ]
         }
        },
        "Send a Messenger marketing message":{
         "summary":"Send a Messenger marketing message",
         "value":{
          "messages":[
           {
            "sender":"OFFICIAL-ACCOUNT-ID-123",
            "destinations":[
             {
              "to":"66855538125"
             }
            ],
            "content":{
             "campaignId":"120213234151570",
             "content":{
              "payload":{
               "text":"Hello! Check out our latest offers."
              },
              "type":"TEXT"
             },
             "type":"MARKETING_MESSAGE"
            }
           }
          ]
         }
        }
       }
      }
     },
     "required":true
    },
    "responses":{
     "200":{
      "description":"OK",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/747c7e4c0b03b254cdcbef02225bbd858a3bba6d956caa5ac2689fea92b213b0.ResponseEnvelopeMessageResponseMessageResponseDetails"
        },
        "examples":{
         "Messenger message response":{
          "summary":"Messenger message response",
          "value":{
           "bulkId":"2034072219640523072",
           "messages":[
            {
             "messageId":"2250be2d4219-3af1-78856-aabe-1362af1edfd2",
             "status":{
              "groupId":1,
              "groupName":"PENDING",
              "id":26,
              "name":"PENDING_ACCEPTED",
              "description":"Message sent to next instance"
             },
             "destination":"66855538125"
            }
           ]
          }
         }
        }
       }
      }
     },
     "400":{
      "description":"Bad Request",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "message:send",
     "messenger:message:send",
     "messenger:manage"
    ],
    "x-is-early-access":true
   }
  },
  "/messenger/1/reports":{
   "get":{
    "tags":[
     "channels",
     "messenger",
     "logs-and-status-reports-messenger"
    ],
    "summary":"Get Messenger delivery reports",
    "description":"If you are unable to receive real-time delivery reports towards your endpoint for various reasons, we offer you an API method to fetch batches of delivery reports to confirm whether specific messages have been delivered. Each request towards this endpoint will return batches of the latest delivery reports. Please note they will be returned only once.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"get-outbound-messenger-message-delivery-reports",
    "parameters":[
     {
      "name":"bulkId",
      "in":"query",
      "description":"The ID that uniquely identifies the request. Bulk ID will be received only when you send a message to more than one destination address.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     },
     {
      "name":"messageId",
      "in":"query",
      "description":"The ID that uniquely identifies the message sent.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     },
     {
      "name":"limit",
      "in":"query",
      "description":"Maximum number of delivery reports to be returned. If not set, the latest 50 records are returned. Maximum limit value is 1000 and you can only access reports for the last 48h.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"integer",
       "format":"int32",
       "default":50,
       "maximum":1000
      },
      "example":1
     },
     {
      "name":"entityId",
      "in":"query",
      "description":"Entity id used to send the message. For more details, see our [documentation](https://www.infobip.com/docs/cpaas-x/application-and-entity-management).",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"promotional-traffic-entity"
     },
     {
      "name":"applicationId",
      "in":"query",
      "description":"Application id used to send the message. For more details, see our [documentation](https://www.infobip.com/docs/cpaas-x/application-and-entity-management).",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"marketing-automation-application"
     },
     {
      "name":"campaignReferenceId",
      "in":"query",
      "description":"ID of a campaign that was sent in the message.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"summersale"
     }
    ],
    "responses":{
     "200":{
      "description":"OK",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/747c7e4c0b03b254cdcbef02225bbd858a3bba6d956caa5ac2689fea92b213b0.DeliveryReports"
        },
        "examples":{
         "Delivery reports":{
          "summary":"Delivery reports",
          "value":{
           "results":[
            {
             "bulkId":"1688025180464000013",
             "price":{
              "pricePerMessage":0.15,
              "currency":"EUR"
             },
             "status":{
              "groupId":3,
              "groupName":"DELIVERED",
              "id":5,
              "name":"DELIVERED_TO_HANDSET",
              "description":"Message delivered to handset"
             },
             "error":{
              "groupId":0,
              "groupName":"OK",
              "id":0,
              "name":"NO_ERROR",
              "description":"No Error",
              "permanent":false
             },
             "messageId":"1688025180464000014",
             "to":"66855538125",
             "sender":"44113496000",
             "sentAt":"2023-09-26T10:52:15.457+0000",
             "doneAt":"2023-09-26T10:52:15.799+0000",
             "messageCount":1,
             "mccMnc":"22801",
             "platform":{
              "entityId":"promotional-traffic-entity",
              "applicationId":"marketing-automation-application"
             }
            }
           ]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "message:send",
     "messenger:message:send",
     "messenger:manage"
    ],
    "x-is-early-access":true
   }
  },
  "/messenger/1/logs":{
   "get":{
    "tags":[
     "channels",
     "messenger",
     "logs-and-status-reports-messenger"
    ],
    "summary":"Get outbound Messenger message logs",
    "description":"Use this method for displaying logs for example in the user interface. Available are the logs for the last 48 hours.",
    "operationId":"get-outbound-messenger-message-logs",
    "parameters":[
     {
      "name":"sender",
      "in":"query",
      "description":"The sender ID which can be alphanumeric or numeric.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     },
     {
      "name":"destination",
      "in":"query",
      "description":"Message destination address.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     },
     {
      "name":"bulkId",
      "in":"query",
      "description":"Unique ID assigned to the request if messaging multiple recipients or sending multiple messages via a single API request. May contain multiple comma-separated values. Maximum length 2048 characters.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"array",
       "items":{
        "type":"string"
       }
      },
      "example":"BULK-ID-123-xyz"
     },
     {
      "name":"messageId",
      "in":"query",
      "description":"Unique message ID for which a log is requested. May contain multiple comma-separated values. Maximum length 2048 characters.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"array",
       "items":{
        "type":"string"
       }
      },
      "example":"MESSAGE-ID-123-xyz,MESSAGE-ID-124-xyz"
     },
     {
      "name":"generalStatus",
      "in":"query",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "$ref":"#/components/schemas/747c7e4c0b03b254cdcbef02225bbd858a3bba6d956caa5ac2689fea92b213b0.MessageGeneralStatus"
      }
     },
     {
      "name":"sentSince",
      "in":"query",
      "description":"The logs will only include messages sent after this date. Use it alongside sentUntil to specify a time range for the logs, but only up to the maximum limit of 1000 logs per call. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string",
       "format":"date-time"
      },
      "example":"2020-02-22T17:42:05.390+01:00"
     },
     {
      "name":"sentUntil",
      "in":"query",
      "description":"The logs will only include messages sent before this date. Use it alongside sentSince to specify a time range for the logs, but only up to the maximum limit of 1000 logs per call. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string",
       "format":"date-time",
       "description":"The logs will only include messages sent before this date. Use it alongside sentSince to specify a time range for the logs, but only up to the maximum limit of 1000 logs per call. Has the following format: yyyy-MM-dd'T'HH:mm:ss.SSSZ.",
       "example":"2020-02-23T17:42:05.39+01:00"
      },
      "example":"2020-02-23T17:42:05.390+01:00"
     },
     {
      "name":"limit",
      "in":"query",
      "description":"Maximum number of messages to include in logs. If not set, the latest 50 records are returned. Maximum limit value is 1000 and you can only access logs for the last 48h.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"integer",
       "format":"int32",
       "default":50,
       "maximum":1000
      }
     },
     {
      "name":"entityId",
      "in":"query",
      "description":"Entity id used to send the message. For more details, see our [documentation](https://www.infobip.com/docs/cpaas-x/application-and-entity-management).",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"promotional-traffic-entity"
     },
     {
      "name":"applicationId",
      "in":"query",
      "description":"Application id used to send the message. For more details, see our [documentation](https://www.infobip.com/docs/cpaas-x/application-and-entity-management).",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      },
      "example":"marketing-automation-application"
     },
     {
      "name":"campaignReferenceId",
      "in":"query",
      "description":"ID of a campaign that was sent in the message. May contain multiple comma-separated values.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"array",
       "items":{
        "type":"string"
       }
      },
      "example":"summersale"
     },
     {
      "name":"useCursor",
      "in":"query",
      "description":"Flag used to enable cursor-based pagination. When set to true, the system will use the cursor to fetch the next set of logs.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"boolean"
      }
     },
     {
      "name":"cursor",
      "in":"query",
      "description":"Value which represents the current position in the data set. For the first request, this field shouldn't be defined. In subsequent requests, use the `nextCursor` value returned from the previous response to continue fetching data.",
      "required":false,
      "style":"form",
      "explode":true,
      "schema":{
       "type":"string"
      }
     }
    ],
    "responses":{
     "200":{
      "description":"OK",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/747c7e4c0b03b254cdcbef02225bbd858a3bba6d956caa5ac2689fea92b213b0.LogResponseLogFacebookOutboundContent"
        },
        "examples":{
         "Log result":{
          "summary":"Log result",
          "value":{
           "results":[
            {
             "sender":"44113496000",
             "destination":"66855538125",
             "bulkId":"1688025180464000013",
             "messageId":"1688025180464000014",
             "sentAt":"2023-02-01T23:15:03.379+0000",
             "doneAt":"2023-02-01T23:16:34.582+0000",
             "messageCount":1,
             "price":{
              "pricePerMessage":0.15,
              "currency":"EUR"
             },
             "status":{
              "groupId":3,
              "groupName":"DELIVERED",
              "id":5,
              "name":"DELIVERED_TO_HANDSET",
              "description":"Message delivered to handset"
             },
             "error":{
              "groupId":0,
              "groupName":"OK",
              "id":0,
              "name":"NO_ERROR",
              "description":"No Error",
              "permanent":false
             },
             "platform":{
              "entityId":"promotional-traffic-entity",
              "applicationId":"marketing-automation-application"
             },
             "content":{
              "text":"Sent text",
              "type":"TEXT"
             }
            }
           ]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "429":{
      "$ref":"#/components/responses/ApiError429"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "messenger:logs:read",
     "messenger:manage"
    ],
    "x-is-early-access":true,
    "x-throttling-info":[
     {
      "type":"time",
      "numberOfRequests":120,
      "numberOfTimeUnits":0,
      "timeUnit":"m"
     }
    ]
   }
  },
  "/messenger/1/pages/{pageId}/subscriptions":{
   "get":{
    "tags":[
     "channels",
     "messenger",
     "marketing-subscriptions-messenger"
    ],
    "summary":"Get marketing subscriptions",
    "description":"Get all messenger marketing subscriptions for single page. <br/> Collecting subscription tokens still works on the Messenger platform. However, marketing messages on Messenger are no longer available for new users. For existing users, this feature will be deprecated on January 12, 2026. After this date, marketing messages will no longer be supported.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"get-messenger-marketing-subscriptions",
    "parameters":[
     {
      "name":"pageId",
      "in":"path",
      "description":"Page ID.",
      "required":true,
      "style":"simple",
      "explode":false,
      "schema":{
       "type":"string"
      },
      "example":263213833541399
     }
    ],
    "responses":{
     "200":{
      "description":"List Of Marketing Subscriptions For Page",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/cc99cb7b0e48638be90df2dee94fb1aaadb95bcd09a6944a79bd00ca6a59df77.PageMarketingSubscriptionResponse"
        }
       }
      }
     },
     "400":{
      "description":"Bad Request",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "404":{
      "description":"Page Does Not Exist"
     },
     "429":{
      "$ref":"#/components/responses/ApiError429"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "messenger:manage"
    ],
    "x-throttling-info":[
     {
      "type":"time",
      "numberOfRequests":5,
      "numberOfTimeUnits":0,
      "timeUnit":"s"
     }
    ]
   }
  },
  "/messenger/1/campaigns":{
   "get":{
    "tags":[
     "channels",
     "messenger",
     "campaigns-messenger"
    ],
    "summary":"Get campaigns",
    "description":"Returns all Facebook Messenger marketing campaigns for the authenticated account.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"get-messenger-campaigns",
    "responses":{
     "200":{
      "description":"List of campaigns.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/cc99cb7b0e48638be90df2dee94fb1aaadb95bcd09a6944a79bd00ca6a59df77.GetCampaignsResponse"
        },
        "examples":{
         "Get campaigns":{
          "summary":"Get campaigns",
          "value":{
           "campaigns":[
            {
             "id":"6938008105758",
             "name":"Summer Sale Campaign",
             "dailyBudget":0,
             "lifetimeBudget":3000,
             "adAccountId":"3339405976215927",
             "pageId":"975663645629834",
             "startTime":"2026-04-20T01:08:10-0700",
             "endTime":"2026-05-20T01:08:09-0700"
            }
           ]
          }
         }
        }
       }
      }
     },
     "400":{
      "description":"Bad Request.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "429":{
      "$ref":"#/components/responses/ApiError429"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "messenger:manage"
    ],
    "x-is-early-access":true,
    "x-throttling-info":[
     {
      "type":"time",
      "numberOfRequests":5,
      "numberOfTimeUnits":0,
      "timeUnit":"s"
     }
    ]
   },
   "post":{
    "tags":[
     "channels",
     "messenger",
     "campaigns-messenger"
    ],
    "summary":"Create campaign",
    "description":"Create a new Facebook Messenger marketing campaign to send marketing messages to opted-in users. The campaign is associated with your ad account and Facebook page.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"create-messenger-campaign",
    "requestBody":{
     "content":{
      "application/json":{
       "schema":{
        "$ref":"#/components/schemas/cc99cb7b0e48638be90df2dee94fb1aaadb95bcd09a6944a79bd00ca6a59df77.CampaignRequest"
       },
       "examples":{
        "Create campaign":{
         "summary":"Create campaign",
         "value":{
          "name":"Summer Sale Campaign",
          "dailyBudget":10000,
          "adAccountId":"ACT_123456789",
          "pageId":"111111111111111"
         }
        }
       }
      }
     },
     "required":true
    },
    "responses":{
     "201":{
      "description":"Campaign created successfully.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/cc99cb7b0e48638be90df2dee94fb1aaadb95bcd09a6944a79bd00ca6a59df77.CampaignResponse"
        }
       }
      }
     },
     "400":{
      "description":"Bad Request.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "429":{
      "$ref":"#/components/responses/ApiError429"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "messenger:manage"
    ],
    "x-is-early-access":true,
    "x-throttling-info":[
     {
      "type":"time",
      "numberOfRequests":5,
      "numberOfTimeUnits":0,
      "timeUnit":"s"
     }
    ]
   }
  },
  "/messenger/1/campaigns/{campaignId}":{
   "delete":{
    "tags":[
     "channels",
     "messenger",
     "campaigns-messenger"
    ],
    "summary":"Delete campaign",
    "description":"Delete an existing Facebook Messenger marketing campaign.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"delete-messenger-campaign",
    "parameters":[
     {
      "name":"campaignId",
      "in":"path",
      "description":"Campaign ID.",
      "required":true,
      "style":"simple",
      "explode":false,
      "schema":{
       "type":"string"
      },
      "example":120213234151570
     }
    ],
    "responses":{
     "204":{
      "description":"Campaign deleted successfully."
     },
     "400":{
      "description":"Bad Request.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "404":{
      "description":"Campaign not found.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Response example":{
          "summary":"Response example",
          "value":{
           "errorCode":"E404",
           "description":"Campaign not found.",
           "action":"Please contact support",
           "violations":[],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "429":{
      "$ref":"#/components/responses/ApiError429"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "messenger:manage"
    ],
    "x-is-early-access":true,
    "x-throttling-info":[
     {
      "type":"time",
      "numberOfRequests":5,
      "numberOfTimeUnits":0,
      "timeUnit":"s"
     }
    ]
   }
  },
  "/messenger/1/ad-accounts":{
   "get":{
    "tags":[
     "channels",
     "messenger",
     "marketing-ad-accounts-messenger"
    ],
    "summary":"Get ad accounts",
    "description":"Returns all Facebook ad accounts associated with the authenticated marketing account.",
    "externalDocs":{
     "description":"Learn more about Messenger channel and use cases",
     "url":"https://www.infobip.com/docs/facebook-messenger"
    },
    "operationId":"get-messenger-ad-accounts",
    "responses":{
     "200":{
      "description":"List of ad accounts.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/cc99cb7b0e48638be90df2dee94fb1aaadb95bcd09a6944a79bd00ca6a59df77.GetAdAccountsResponse"
        },
        "examples":{
         "Get ad accounts":{
          "summary":"Get ad accounts",
          "value":{
           "adAccounts":[
            {
             "id":"act_3339405976215927",
             "status":"ACTIVE",
             "currency":"USD",
             "totalSpent":186
            },
            {
             "id":"act_24785101717804792",
             "status":"ACTIVE",
             "currency":"INR",
             "totalSpent":38295
            }
           ]
          }
         }
        }
       }
      }
     },
     "400":{
      "description":"Bad Request.",
      "content":{
       "application/json":{
        "schema":{
         "$ref":"#/components/schemas/ApiError"
        },
        "examples":{
         "Bad request":{
          "summary":"Bad request",
          "value":{
           "errorCode":"E400",
           "description":"Request cannot be processed.",
           "action":"Check the syntax, violations and adjust the request.",
           "violations":[
            {
             "property":"property.path",
             "violation":"Violation message."
            }
           ],
           "resources":[]
          }
         }
        }
       }
      }
     },
     "401":{
      "$ref":"#/components/responses/ApiError401"
     },
     "403":{
      "$ref":"#/components/responses/ApiError403"
     },
     "429":{
      "$ref":"#/components/responses/ApiError429"
     },
     "500":{
      "$ref":"#/components/responses/ApiError500"
     }
    },
    "security":[
     {
      "IBSSOTokenHeader":[]
     },
     {
      "APIKeyHeader":[]
     },
     {
      "Basic":[]
     },
     {
      "OAuth2":[]
     }
    ],
    "x-scopes":[
     "messenger:manage"
    ],
    "x-is-early-access":true,
    "x-throttling-info":[
     {
      "type":"time",
      "numberOfRequests":5,
      "numberOfT

# --- truncated at 32 KB (159 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/infobip/refs/heads/main/openapi/infobip-messenger-openapi.json