# Cogfy Messenger ## Docs - [Authentication](https://messenger-docs.cogfy.com/api-reference/authentication.md): All requests made to the Cogfy API must be authenticated. This is done by providing an API key in the header `Api-Key` of each request: - [Create a new broadcast](https://messenger-docs.cogfy.com/api-reference/endpoint/broadcasts/create.md): Creates a new broadcast with the specified phone number and contacts query. - [Get a broadcast by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/broadcasts/get-by-id.md) - [List all broadcasts](https://messenger-docs.cogfy.com/api-reference/endpoint/broadcasts/list.md) - [Send a broadcast by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/broadcasts/send.md) - [Create a contact](https://messenger-docs.cogfy.com/api-reference/endpoint/contacts/create.md): Creates a new contact with the specified details. - [Delete a contact](https://messenger-docs.cogfy.com/api-reference/endpoint/contacts/delete.md): Deletes a contact with the specified ID. - [Get a contact page](https://messenger-docs.cogfy.com/api-reference/endpoint/contacts/get.md) - [Get a contact by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/contacts/get-by-id.md) - [Update a contact by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/contacts/update-by-id.md): Updates a specified contact. - [Get all conversations](https://messenger-docs.cogfy.com/api-reference/endpoint/conversations/get.md) - [Get a conversation by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/conversations/get-by-id.md) - [Get all conversation messages by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/conversations/get-messages.md) - [Send a message to a conversation](https://messenger-docs.cogfy.com/api-reference/endpoint/conversations/send-message.md) - [Create a chunk](https://messenger-docs.cogfy.com/api-reference/endpoint/embeddings/create.md): Creates a new chunk with the specified details. - [Create QnA to knowledge base](https://messenger-docs.cogfy.com/api-reference/endpoint/embeddings/create-question-and-answers.md): Creates a new chunk with the specified details. - [Delete a chunk](https://messenger-docs.cogfy.com/api-reference/endpoint/embeddings/delete.md): Deletes a chunk with the specified ID. - [Get a chunk by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/embeddings/get-by-id.md) - [Get chunks from a source](https://messenger-docs.cogfy.com/api-reference/endpoint/embeddings/get-from-source.md) - [Send an audio message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-audio.md): Sends an audio message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send contacts message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-contacts.md): Sends a contact message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send document message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-document.md): Sends a document message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send image message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-image.md): Sends an image message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send interactive button message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-interactive-button.md): Sends an interactive button message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send interactive CTA URL message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-interactive-cta-url.md): Sends an interactive call-to-action message with URL to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send interactive flow message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-interactive-flow.md): Sends an interactive Flow message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send interactive list message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-interactive-list.md): Sends an interactive list message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send interactive order details message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-interactive-order-details.md): Sends an interactive order details message for review and payment. Requires that the recipient has messaged the business in the last 24 hours. - [Send interactive order status message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-interactive-order-status.md): Sends an interactive order status update message. - [Send location message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-location.md): Sends a location message with coordinates to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send reaction message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-reaction.md): Sends a reaction message to a specific message. Requires that the recipient has messaged the business in the last 24 hours. - [Send sticker message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-sticker.md): Sends a sticker message to a specific message. Requires that the recipient has messaged the business in the last 24 hours. - [Send template message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-template.md): Sends an approved message template to a phone number. Each template message sent has an associated cost. - [Send text message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-text.md): Sends a text message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Send video message](https://messenger-docs.cogfy.com/api-reference/endpoint/messages/send-video.md): Sends a video message to a phone number. Requires that the recipient has messaged the business in the last 24 hours. - [Create a tag](https://messenger-docs.cogfy.com/api-reference/endpoint/tags/create.md): Creates a new tag with the specified name. - [Delete a tag by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/tags/delete.md): Deletes a tag with the specified ID. - [Get a tag page](https://messenger-docs.cogfy.com/api-reference/endpoint/tags/get.md): Retrieves a list of all tags in the workspace. - [Get a tag by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/tags/get-by-id.md): Retrieves a tag with the specified ID. - [Update a tag by ID](https://messenger-docs.cogfy.com/api-reference/endpoint/tags/update-by-id.md): Updates the name of a tag with the specified ID. - [Introduction](https://messenger-docs.cogfy.com/api-reference/introduction.md): Cogfy messenger provides an HTTP API that can be used to perform actions on your workspace. The API is available at https://messenger-public-api.cogfy.com - [Creating an Assistant](https://messenger-docs.cogfy.com/guide/assistants/creating-an-assistant.md): Learn how to create and configure an assistant in Cogfy Messenger - [Linking an Assistant to a Phone Number](https://messenger-docs.cogfy.com/guide/assistants/link-assistant-to-phone-number.md): Learn how to link an assistant to a phone number in Cogfy Messenger - [Overview](https://messenger-docs.cogfy.com/guide/assistants/overview.md): Learn about Cogfy Assistants and how to manage them in Cogfy Messenger - [Plugins](https://messenger-docs.cogfy.com/guide/assistants/plugins.md): Learn about plugins and how to use them with Cogfy Assistants - [Cogs](https://messenger-docs.cogfy.com/guide/engines/cogs.md): The building blocks of an Engine's workflow - [Engine Assistants](https://messenger-docs.cogfy.com/guide/engines/engine-assistants.md): Creating and managing Engine Assistants - [Overview](https://messenger-docs.cogfy.com/guide/engines/overview.md): Learn about Cogfy Engines and how to manage them - [Workflow](https://messenger-docs.cogfy.com/guide/engines/workflow.md): The core definition of an Engine's behavior - [Analytics](https://messenger-docs.cogfy.com/guide/fundamentals/analytics.md): Monitor and analyze your Cogfy Messenger workspace performance - [API Keys](https://messenger-docs.cogfy.com/guide/fundamentals/api-keys.md): Manage your Cogfy Messenger workspaces API keys - [Contacts](https://messenger-docs.cogfy.com/guide/fundamentals/contacts.md): Manage contacts in Cogfy Messenger - [Members](https://messenger-docs.cogfy.com/guide/fundamentals/members.md): Manage your Cogfy Messenger workspaces members - [Overview](https://messenger-docs.cogfy.com/guide/fundamentals/overview.md): Manage your Cogfy Messenger workspaces - [Tags](https://messenger-docs.cogfy.com/guide/fundamentals/tags.md): Manage your Cogfy Messenger workspaces tags - [Usage](https://messenger-docs.cogfy.com/guide/fundamentals/usage.md): Monitor and analyze your Cogfy Messenger workspace usage - [Connect Phone Number](https://messenger-docs.cogfy.com/guide/phone-numbers/connect-phone-number.md): Link your phone number to your Cogfy Messenger account - [Phone number conversations](https://messenger-docs.cogfy.com/guide/phone-numbers/phone-number-conversations.md): Manage conversations linked to your phone number in Cogfy Messenger - [WhatsApp phone number profile settings](https://messenger-docs.cogfy.com/guide/phone-numbers/whatsapp-phone-profile-settings.md): Update and manage your WhatsApp phone number profile settings in Cogfy Messenger - [OpenAI Assistant](https://messenger-docs.cogfy.com/guide/workflows/nodes/core/assistant/openai-assistant-node.md): Chat completion models by OpenAI - [JavaScript Code](https://messenger-docs.cogfy.com/guide/workflows/nodes/core/java-script-code-node.md): Execute arbitrary Javascript code - [WhatsApp Text Message](https://messenger-docs.cogfy.com/guide/workflows/nodes/core/send-message/send-whatsapp-text-message.md): Text messaging using Meta's WhatsApp - [If Node](https://messenger-docs.cogfy.com/guide/workflows/nodes/logic/if-node.md): Conditional routing - [Message Received](https://messenger-docs.cogfy.com/guide/workflows/nodes/triggers/message-received-node.md): Triggers the workflow on receiving a message on the published phone number. - [Start Data Exchange](https://messenger-docs.cogfy.com/guide/workflows/nodes/triggers/start-data-exchange-node.md): Triggers the workflow on a WhatsApp Flow Data Exchange - [Overview](https://messenger-docs.cogfy.com/guide/workflows/overview.md): Learn about Cogfy Workflows and how to manage them in Cogfy Messenger - [Create Your First Workflow](https://messenger-docs.cogfy.com/guide/workflows/tutorial-first-workflow.md): In this tutorial you will quickly learn how to create a new workflow and publish it in a phone number. - [Introduction](https://messenger-docs.cogfy.com/index.md): Welcome to Cogfy Messenger documentation - [Quickstart](https://messenger-docs.cogfy.com/quickstart.md): Create your first WhatsApp AI Agent in a few minutes ## OpenAPI Specs - [openapi](https://messenger-docs.cogfy.com/api-reference/openapi.json) ## Optional - [Cogfy Messenger](https://cogfy.com/messenger)