Resultado da Busca
Send and receive messages using a cloud-hosted version of the WhatsApp Business Platform. The Cloud API, hosted by Meta, allows you to implement WhatsApp Business APIs without the cost of hosting of your own servers and also allows you to more easily scale your business messaging.
- Overview
Resources. These are the primary resources you will be...
- Get Started
This guide will help you send and receive your first message...
- Webhooks Setup
Webhooks set up will not affect the phone number on your...
- Guides
Learn how to migrate from On-Premises API to Cloud API....
- Reference
Phone Number ID. The /PHONE_NUMBER_ID endpoint has the...
- Payments API - SG
Overview. Currently, customers browse business catalogs, add...
- FAQs
As of May 15, 2024, Türkiye is no longer restricted for...
- Error Codes
Code Description Possible Solutions HTTP Status Code 4. API...
- Overview
This guide will help you send and receive your first message using Cloud API. You will also learn how to configure Webhooks for use with a sample app. This guide is intended for people developing applications for themselves or their organization.
From the API call: Once you have successfully uploaded media files to the API, the media ID is included in the response to your call. From Webhooks : When a business account receives a media message, it downloads the media and uploads it to the Cloud API automatically.
Documentação para ajudar você a configurar seu ambiente, testar, desenvolver e integrar a Plataforma do WhatsApp Business à sua pilha.
- What It Does
- Getting Started
- Installation
- Quick Examples
- Media messages
- Message Response
- Webhooks
- Features
- Getting Help
- Migration to v2
This package makes it easy for developers to access WhatsApp Cloud API service in their PHP code.
The first 1,000 conversations each month are free from WhatsApp Cloud API. A conversation.
Please create and configure your Facebook WhatsApp application following the "Get Stared" section of the official guide.
Minimum requirements – To run the SDK, your system will require PHP >= 7.4 with a recent version of CURL >=7.19.4 compiled with OpenSSL and zlib.
composer require netflie/whatsapp-cloud-api
Send a text message Send a document
You can send documents in two ways: by uploading a file to the WhatsApp Cloud servers (where you will receive an identifier) or from a link to a document published on internet.
Send a template message
You also can build templates with parameters:
Send a sticker message
Stickers sample: https://github.com/WhatsApp/stickers
Upload media resources
Media messages accept as identifiers an Internet URL pointing to a public resource (image, video, audio, etc.). When you try to send a media message from a URL you must instantiate the LinkID object. You can also upload your media resources to WhatsApp servers and you will receive a resource identifier:
Download media resources
To download a media resource:
WhatsAppCloudApi instance returns a Response class or a ResponseException if WhatsApp servers return an error.
Webhook verification
Add your webhook in your Meta App dashboard. You need to verify your webhook:
Webhook notifications
Webhook is now verified, you will start receiving notifications every time your customers send messages. The Webhook::read function will return a Notification instance. Please, explore the different notifications availables.
Mark a message as read
When you receive an incoming message from Webhooks, you can mark the message as read by changing its status to read. Messages marked as read display two blue check marks alongside their timestamp. Marking a message as read will also mark earlier messages in the conversation as read.
•Send Text Messages
•Send Documents
•Send Templates with parameters
•Send Audios
•Send Images
•Send Videos
•Ask a question on the Discussions forum
•To report bugs, please open an issue
Please see UPGRADE for more information on how to upgrade to v2.
WhatsApp Cloud API, hosted by Meta, is the official WhatsApp Business Platform API used for business messaging. This collection contains common queries, sample responses, and links to supporting documentation that can help you quickly get started with the API.
WhatsApp Cloud API, hosted by Meta, is the official WhatsApp Business Platform API used for business messaging. This collection contains common queries, sample responses, and links to supporting documentation that can help you quickly get started with the API.