Yes, Facebook Messenger has an API called SendAPI. It is mainly used for messages or attachments exchanged through the Messenger app.