API de Mensagens do WhatsApp para Extensão Chrome
  1. Messages
API de Mensagens do WhatsApp para Extensão Chrome
  • WhatsApp Extension API
  • Bearer Token
  • Messages
    • Text message
      POST
    • Audio Message
      POST
    • Doc Message
      POST
    • Video Message
      POST
    • Image Message
      POST
  • Labels
    • Get Labels
      GET
    • Add Label
      POST
    • Remove Label
      POST
  • CRM Tab
    • Get All CRM Tabs
      GET
    • Add CRM Tab
      POST
    • Remove CRM Tab
      POST
  • Remarketing Tab
    • Get All Remarketing Tabs
      GET
    • Add Remarketing Tab
      POST
    • Remove Remarketing Tab
      POST
  • Start Conversation Bot
    • Get Bots List
      GET
    • Start Bot
      POST
  1. Messages

Text message

POST
https://api.opt-api.com/api/messages

Request

Authorization
Provide your bearer token in the
Authorization
header when making requests to protected resources.
Example:
Authorization: Bearer ********************
Body Params application/json

Example
{
    "type": "text",
    "phoneNumber": "5511912345678",
    "content": "Olá, tudo bem?"
}

Request Code Samples

Shell
JavaScript
Java
Swift
Go
PHP
Python
HTTP
C
C#
Objective-C
Ruby
OCaml
Dart
R
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST 'https://api.opt-api.com/api/messages' \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data-raw '{
    "type": "text",
    "phoneNumber": "5511912345678",
    "content": "Olá, tudo bem?"
}'

Responses

🟢201Created
application/json
Body

Example
{"status":"success","message":"Request completed successfully!"}
Modified at 2025-03-09 17:32:23
Previous
Messages
Next
Audio Message
Built with