واتساب لاين من شركة خط التسويق
رابط التطبيق في منصة سلةللتواصل معنا واتسابلطلب الخدمة مباشرةمجتمع واتساب لاين
  • ♻️WhatsApp Line
  • ⚙️ربط API
  • تثبيت واتساب لاين في متجر سلة
  • 📰لوحة تحكم واتساب لاين
  • 📲متغيرات رسائل واتساب لاين في سلة
  • شرح تطبيق واتساب لاين
  • تحميل ملف اكسل لـ واتساب لاين
  • شرح مفصل لارسال رسائل جماعية
  • عمل شات بوت
Powered by GitBook
On this page

ربط API

INSTANCE API

POST Create Instance

https://wh.line.sa/api/create_instance?access_token=649ba622xxxx

Create a new Instance ID

PARAMS

POST Get QR Code

https://wh.line.sa/api/get_qrcode?instance_id=609ACF283XXXX&access_token=649ba622xxxx

Display QR code to login to Whatsapp web. You can get the results returned via Webhook

PARAMS

instance_id
609ACF283XXXX

access_token

649ba622xxxx

POST Set Receving Webhook

https://wh.line.sa/api/set_webhook?webhook_url=https%3A%2F%2Fwebhook.site%2F1b25464d6833784f96eef4xxxxxxxxxx&enable=true&instance_id=609ACF283XXXX&access_token=649ba622xxxx

Get all return values from Whatsapp. Like connection status, Incoming message, Outgoing message, Disconnected, Change Battery,…

PARAMS

webhook_url
https://webhook.site/1b25464d6833784f96eef4xxxxxxxxxx

enable

true

instance_id

609ACF283XXXX

access_token

649ba622xxxx

POST Reboot Instance

https://wh.line.sa/api/reboot?instance_id=609ACF283XXXX&access_token=649ba622xxxx

Logout Whatsapp web and do a fresh scan

PARAMS

instance_id
609ACF283XXXX

access_token

649ba622xxxx

POST Reset Instance

https://wh.line.sa/api/reset_instance?instance_id=609ACF283XXXX&access_token=649ba622xxxx

This will logout Whatsapp web, Change Instance ID, Delete all old instance data

PARAMS

instance_id
609ACF283XXXX

access_token

649ba622xxxx

POST Reconnect

https://wh.line.sa/api/reconnect?instance_id=609ACF283XXXX&access_token=649ba622xxxx

Re-initiate connection from app to Whatsapp web when lost connection

PARAMS

instance_id
609ACF283XXXX

access_token

649ba622xxxx

SEND DIRECT MESSAGE API

POST Send Text

Resource URL:

https://wh.line.sa/api/send

Structure of the POST request body:

{ number: "{int}", type: "text", message: "{string}", instance_id: "{string}", access_token: "649ba622xxxx" }

Send a text message to a phone number through the app

https://wh.line.sa/api/send?number=9665xxxxxxx&type=text&message=Hello%20message&instance_id=6xxxxxx&access_token=6xxxxxxxxxxxx

PARAMS

number
84933313xxx

type

text

message

test message

instance_id

609ACF283XXXX

access_token

649ba622xxxx

POST Send Media & File

Resource URL:

https://wh.line.sa/api/send

Structure of the POST request body:

{ number: "{int}", type: "media", message: "{string}", media_url: "{string}", instance_id: "{string}", access_token: "649ba622xxxx" }

Send a media or file with message to a phone number through the app

PARAMS

number
84933313xxx

type

media

message

test message

media_url

https://i.pravatar.cc

filename (Just use for send document)

file_test.pdf

instance_id

609ACF283XXXX

access_token

649ba622xxxx

GROUP API

POST Send Text Message Group

Resource URL:

https://wh.line.sa/api/send_group

Structure of the POST request body:

{ group_id: "8498761xxxxxxxx@g.us", type: "text", message: "{string}", instance_id: "{string}", access_token: "649ba622xxxx" }

Send a text message to a group through the app

PARAMS

group_id
84987694574-1618740914@g.us

type

text

message

test message

instance_id

609ACF283XXXX

access_token

649ba622xxxx

POST Send Media & File Message Group

Resource URL:

https://wh.line.sa/api/send_group

Structure of the POST request body:

<code”>{ group_id: “8498761xxxxxxxx@g.us”, type: “media”, message: “{string}”, media_url: “{string}”, instance_id: “{string}”, access_token: “649ba622xxxx” }

Send a media or file with message to a group through the app

PARAMS

group_id
8498761xxxxxxxx@g.us

type

media

message

test message

media_url

https://i.pravatar.cc

filename (Just use for send document)

file_test.pdf

instance_id

609ACF283XXXX

access_token

649ba622xxxx

PreviousWhatsApp LineNextتثبيت واتساب لاين في متجر سلة

Last updated 9 months ago

⚙️