Use this page when you already know which feature you need and want the exact endpoint, token type, and request fields. For guided examples, start with Production integration or the feature pages.
How to read this reference
- Use
tokenfor normal session endpoints. - Use
admintokenonly for admin endpoints. - Field names are case-sensitive.
- Some older handlers use uppercase JSON field names because their Go structs do not define lowercase JSON tags.
Sessions
POST /session/init
Create a local WaGo token row for a user.
- Handler:
Init - Authentication: Admin token
| Field | Type | Required |
|---|---|---|
Name | string | No |
Token | string | No |
Os | string | No |
POST /session/connect
Start or restore the WhatsApp client for a token.
- Handler:
Connect - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Subscribe | string | No |
Immediate | boolean | No |
POST /session/disconnect
Disconnect the active client without unlinking WhatsApp.
- Handler:
Disconnect - Authentication: Session token
POST /session/logout
Log out the linked WhatsApp device.
- Handler:
Logout - Authentication: Session token
GET /session/status
Return connection and login state.
- Handler:
GetStatus - Authentication: Session token
GET /session/qr
Return the current QR code for device linking.
- Handler:
GetQR - Authentication: Session token
GET /session/all
List stored sessions for admins.
- Handler:
GetAllDbUsers - Authentication: Admin token
POST /session/pair
Connect with WhatsApp pair-code flow.
- Handler:
ConnectPair - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | No |
POST /session/delete
Delete a token and its local session data.
- Handler:
DeleteToken - Authentication: Admin token
POST /session/scanned
List tokens that have completed scan/login.
- Handler:
GetScannedSessions - Authentication: Admin token
Webhooks and realtime
POST /webhook
Read or update the webhook URL for a token.
- Handler:
SetWebhook - Authentication: Session token
| Field | Type | Required |
|---|---|---|
WebhookURL | string | Yes |
GET /webhook
Read or update the webhook URL for a token.
- Handler:
GetWebhook - Authentication: Session token
Sending messages
POST /send/text
Send message.
- Handler:
SendMessage - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Body | string | Yes |
Id | string | No |
ContextInfo | object | No |
POST /send/image
Send image.
- Handler:
SendImage - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Image | string | Yes |
Caption | string | No |
Id | string | No |
ContextInfo | object | No |
POST /send/audio
Send audio.
- Handler:
SendAudio - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Audio | string | Yes |
Ptt | boolean | No |
Duration | number | No |
Id | string | No |
ContextInfo | object | No |
POST /send/poll
Send poll.
- Handler:
SendPoll - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Question | string | Yes |
MaxAnswer | number | Yes |
Options | array<any> | Yes |
ContextInfo | object | No |
POST /send/document
Send document.
- Handler:
SendDocument - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Document | string | Yes |
FileName | string | Yes |
Caption | string | No |
Mimetype | string | No |
Id | string | No |
ContextInfo | object | No |
POST /send/template
Send template.
- Handler:
SendTemplate - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Title | string | No |
Content | string | Yes |
Footer | string | No |
Buttons | object | No |
POST /send/video
Send video.
- Handler:
SendVideo - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Video | string | Yes |
Caption | string | No |
Id | string | No |
JpegThumbnail | string | No |
ContextInfo | object | No |
POST /send/sticker
Send sticker.
- Handler:
SendSticker - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Sticker | string | Yes |
Id | string | No |
PngThumbnail | string | No |
ContextInfo | object | No |
POST /send/location
Send location.
- Handler:
SendLocation - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Name | string | No |
Id | string | No |
Latitude | float | Yes |
Longitude | float | Yes |
ContextInfo | object | No |
POST /send/contact
Send contact.
- Handler:
SendContact - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Id | string | No |
Vcard | object | Yes |
ContextInfo | object | No |
POST /send/buttons
Send buttons.
- Handler:
SendButtons - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Title | string | Yes |
Content | string | Yes |
Footer | string | Yes |
Buttons | object | Yes |
POST /send/mediabutton
Send button media.
- Handler:
SendButtonMedia - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Content | string | Yes |
Footer | string | No |
Title | string | No |
Filename | string | No |
MessageId | string | No |
Buttons | array<object> | Yes |
Type | string | Yes |
Media | string | Yes |
POST /send/mediaurl
Send media url.
- Handler:
SendMediaURL - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | Yes |
Url | string | Yes |
Type | string | Yes |
Duration | number | No |
Caption | string | Yes |
Filename | string | Yes |
POST /send/list
Send list.
- Handler:
SendList - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
ButtonText | string | Yes |
Desc | string | Yes |
TopText | string | Yes |
List | object | Yes |
POST /send/preview
Send link preview.
- Handler:
SendLinkPreview - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Text | string | Yes |
MatchedURL | string | Yes |
Title | string | Yes |
Description | string | Yes |
Image | string | Yes |
POST /send/preview2
Send link preview2.
- Handler:
SendLinkPreview2 - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Text | string | Yes |
MatchedURL | string | Yes |
Title | string | Yes |
Description | string | Yes |
Image | string | Yes |
POST /send/groupinvite
Send group invite.
- Handler:
SendGroupInvite - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Text | string | Yes |
MatchedText | string | Yes |
Title | string | Yes |
POST /send/locationbutton
Send location button.
- Handler:
SendLocationButton - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | No |
Body | string | No |
POST /send/pixbutton
Send pix button.
- Handler:
SendPixButton - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Title | string | No |
Body | string | Yes |
Footer | string | No |
PixKey | string | Yes |
MerchantName | string | No |
PixType | string | No |
POST /send/reviewpay
Send review and pay button.
- Handler:
SendReviewAndPayButton - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Title | string | No |
Body | string | Yes |
Caption | string | No |
Footer | string | No |
PixKey | string | Yes |
MerchantName | string | No |
PixType | string | No |
Currency | string | No |
ReferenceID | string | No |
TotalValue | integer | No |
TotalOffset | integer | No |
Items | array<object> | No |
POST /send/carousel
Send carousel button.
- Handler:
SendCarouselButton - Authentication: Session token
POST /send/carouselmedia
Send carousel button media.
- Handler:
SendCarouselButtonMedia - Authentication: Session token
Bots
POST /bot/message
Send bot message.
- Handler:
SendBotMessage - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Body | string | No |
PersonaID | string | No |
GET /bot/list
Get bot profiles.
- Handler:
GetBotProfiles - Authentication: Session token
Users
POST /user/info
Get user.
- Handler:
GetUser - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | object | Yes |
POST /user/check
Check user.
- Handler:
CheckUser - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | object | Yes |
GET /user/avatar
Get avatar.
- Handler:
GetAvatar - Authentication: Session token
POST /user/avatar
Get avatar.
- Handler:
GetAvatar - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Preview | bool | Yes |
GET /user/contacts
Get contacts.
- Handler:
GetContacts - Authentication: Session token
GET /user/privacy
Get privacy.
- Handler:
GetPrivacy - Authentication: Session token
POST /user/block
Block contact.
- Handler:
BlockContact - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | No |
POST /user/unblock
Unblock contact.
- Handler:
UnblockContact - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | No |
GET /user/blocklist
Get block list.
- Handler:
GetBlockList - Authentication: Session token
POST /user/profile
Set profile picture.
- Handler:
SetProfilePicture - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Image | string | Yes |
POST /user/name
Update profile name.
- Handler:
UpdateProfileName - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Name | string | No |
POST /user/presence
Send presence.
- Handler:
SendPresence - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Presence | string | No |
GET /user/limits
Get limits.
- Handler:
GetLimits - Authentication: Session token
POST /user/parselid
Get jidfrom lid.
- Handler:
GetJIDFromLID - Authentication: Session token
| Field | Type | Required |
|---|---|---|
LID | string | No |
GET /user/appstate
Fetch app state.
- Handler:
FetchAppState - Authentication: Session token
Contacts and broadcasts
POST /contact/add
Contact add.
- Handler:
ContactAdd - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | No |
FirstName | string | No |
FullName | string | No |
SaveOnBook | boolean | No |
POST /contact/remove
Contact remove.
- Handler:
ContactRemove - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | No |
POST /broadcast/listparticipants
Broadcast list participants.
- Handler:
BroadcastListParticipants - Authentication: Session token
| Field | Type | Required |
|---|---|---|
ID | string | Yes |
Messages
POST /message/react
React.
- Handler:
React - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Body | string | Yes |
Id | string | Yes |
IsFromMe | boolean | Yes |
POST /message/presence
Chat presence.
- Handler:
ChatPresence - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
State | string | Yes |
Media | string | No |
POST /message/markread
Mark read.
- Handler:
MarkRead - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | object | Yes |
Chat | string | Yes |
Sender | string | No |
POST /message/status
Get message status.
- Handler:
GetMessageStatus - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | string | Yes |
POST /message/delete
Delete message everyone.
- Handler:
DeleteMessageEveryone - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Chat | string | Yes |
MessageID | string | Yes |
POST /message/edit
Edit message.
- Handler:
EditMessage - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Chat | string | Yes |
Message | string | Yes |
MessageID | string | Yes |
POST /message/downloadimage
Download image.
- Handler:
DownloadImage - Authentication: Session token
POST /message/download/image
Download image.
- Handler:
DownloadImage - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Url | string | Yes |
DirectPath | string | No |
MediaKey | string | Yes |
Mimetype | string | Yes |
FileEncSHA256 | string | No |
FileSHA256 | string | Yes |
FileLength | number | Yes |
POST /message/download/video
Download video.
- Handler:
DownloadVideo - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Url | string | Yes |
DirectPath | string | No |
MediaKey | string | Yes |
Mimetype | string | Yes |
FileEncSHA256 | string | No |
FileSHA256 | string | Yes |
FileLength | number | Yes |
POST /message/download/document
Download document.
- Handler:
DownloadDocument - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Url | string | Yes |
DirectPath | string | No |
MediaKey | string | Yes |
Mimetype | string | Yes |
FileEncSHA256 | string | No |
FileSHA256 | string | Yes |
FileLength | number | Yes |
POST /message/download/audio
Download audio.
- Handler:
DownloadAudio - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Url | string | Yes |
DirectPath | string | No |
MediaKey | string | Yes |
Mimetype | string | Yes |
FileEncSHA256 | string | No |
FileSHA256 | string | Yes |
FileLength | number | Yes |
POST /message/download/sticker
Download sticker.
- Handler:
DownloadSticker - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Url | string | Yes |
DirectPath | string | No |
MediaKey | string | Yes |
Mimetype | string | Yes |
FileEncSHA256 | string | No |
FileSHA256 | string | Yes |
FileLength | number | Yes |
Chats
POST /chat/pin
Chat pin.
- Handler:
ChatPin - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Chat | string | Yes |
POST /chat/unpin
Chat unpin.
- Handler:
ChatUnpin - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Chat | string | Yes |
POST /chat/archive
Chat archive.
- Handler:
ChatArchive - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Chat | string | Yes |
POST /chat/mute
Chat mute.
- Handler:
ChatMute - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Chat | string | Yes |
POST /chat/typing/start
Typing start.
- Handler:
TypingStart - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | Yes |
POST /chat/typing/stop
Typing stop.
- Handler:
TypingStop - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | Yes |
POST /chat/delete
Chat delete.
- Handler:
ChatDelete - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
POST /chat/read
Chat read.
- Handler:
ChatRead - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
POST /chat/unread
Chat unread.
- Handler:
ChatUnread - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
POST /chat/recording/start
Recording start.
- Handler:
RecordingStart - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | Yes |
POST /chat/recording/stop
Recording stop.
- Handler:
RecordingStop - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | Yes |
POST /chat/disappearing-timer
Disappear.
- Handler:
Disappear - Authentication: Session token
| Field | Type | Required |
|---|---|---|
phone | string | Yes |
timer | string | Yes |
Groups
GET /group/list
List groups.
- Handler:
ListGroups - Authentication: Session token
POST /group/info
Get group info.
- Handler:
GetGroupInfo - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
POST /group/invitelink
Get group invite link.
- Handler:
GetGroupInviteLink - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
Reset | boolean | No |
POST /group/photo
Set group photo.
- Handler:
SetGroupPhoto - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
Image | string | No |
POST /group/name
Set group name.
- Handler:
SetGroupName - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
Name | string | No |
POST /group/create
Create group.
- Handler:
CreateGroup - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupName | string | No |
Participants | array<any> | No |
POST /group/update
Update participant.
- Handler:
UpdateParticipant - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
ParticipantJID | array<any> | No |
Action | string | No |
GET /group/myall
Get my groups.
- Handler:
GetMyGroups - Authentication: Session token
POST /group/join
Join group link.
- Handler:
JoinGroupLink - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Code | string | No |
POST /group/leave
Leave group.
- Handler:
LeaveGroup - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupId | string | Yes |
POST /group/description
Update group description.
- Handler:
UpdateGroupDescription - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
Description | string | No |
POST /group/lock
Group lock.
- Handler:
GroupLock - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
Lock | boolean | No |
POST /group/adminonly
Group admin only.
- Handler:
GroupAdminOnly - Authentication: Session token
| Field | Type | Required |
|---|---|---|
GroupJID | string | No |
AdminOnly | boolean | No |
Communities
POST /community/create
Create community.
- Handler:
CreateCommunity - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CommunityName | string | No |
POST /community/add
Community add.
- Handler:
CommunityAdd - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CommunityJID | string | No |
GroupJID | Array | No |
POST /community/remove
Community remove.
- Handler:
CommunityRemove - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CommunityJID | string | No |
GroupJID | Array | No |
Labels
POST /label/chat
Chat label.
- Handler:
ChatLabel - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
LabelId | string | No |
POST /label/message
Message label.
- Handler:
MessageLabel - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
LabelId | string | No |
MessageId | string | No |
POST /label/edit
Edit label.
- Handler:
EditLabel - Authentication: Session token
| Field | Type | Required |
|---|---|---|
LabelId | string | No |
Name | string | No |
Color | number | No |
Action | boolean | No |
POST /unlabel/chat
Chat unlabel.
- Handler:
ChatUnlabel - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
LabelId | string | No |
POST /unlabel/message
Message unlabel.
- Handler:
MessageUnlabel - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
LabelId | string | No |
MessageId | string | No |
Newsletters
POST /newsletter/create
Create newsletter.
- Handler:
CreateNewsletter - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Name | string | No |
Description | string | No |
GET /newsletter/list
List newsletter.
- Handler:
ListNewsletter - Authentication: Session token
POST /newsletter/info
Get newsletter.
- Handler:
GetNewsletter - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
POST /newsletter/link
Get newsletter invite.
- Handler:
GetNewsletterInvite - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Key | string | No |
POST /newsletter/subscribe
Subscribe newsletter.
- Handler:
SubscribeNewsletter - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
POST /newsletter/messages
Get newsletter messages.
- Handler:
GetNewsletterMessages - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
Count | number | No |
BeforeId | number | No |
Business
POST /business/get/profile
Get business profile.
- Handler:
GetBusinessProfile - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
GET /business/get/categories
Get business categories.
- Handler:
GetBusinessCategories - Authentication: Session token
POST /business/update/desc
Update business desc.
- Handler:
UpdateBusinessDesc - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Desc | string | No |
POST /business/update/address
Update business address.
- Handler:
UpdateBusinessAddress - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Address | string | No |
POST /business/update/email
Update business email.
- Handler:
UpdateBusinessEmail - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Email | string | No |
POST /business/catalog/create
Create catalog product.
- Handler:
CreateCatalogProduct - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | string | No |
Name | string | No |
Images | array<string> | No |
Description | string | No |
Price | string | No |
Currency | string | No |
Url | string | No |
IsHidden | boolean | No |
POST /business/catalog/edit
Edit catalog product.
- Handler:
EditCatalogProduct - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | string | No |
Name | string | No |
Images | array<string> | No |
Description | string | No |
Price | string | No |
Currency | string | No |
Url | string | No |
IsHidden | boolean | No |
POST /business/catalog/list
Get catalog.
- Handler:
GetCatalog - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
POST /business/catalog/info
Get catalog product.
- Handler:
GetCatalogProduct - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Jid | string | No |
Id | string | No |
POST /business/catalog/delete
Delete catalog product.
- Handler:
DeleteCatalogProduct - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | string | No |
POST /business/catalog/show
Show product.
- Handler:
ShowProduct - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | string | No |
POST /business/catalog/hide
Hide product.
- Handler:
HideProduct - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Id | string | No |
POST /business/order/details
Get order details.
- Handler:
GetOrderDetails - Authentication: Session token
| Field | Type | Required |
|---|---|---|
OrderId | string | Yes |
Token | string | Yes |
POST /business/send/catalog
Send business catalog.
- Handler:
SendBusinessCatalog - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Phone | string | Yes |
Text | string | Yes |
MatchedText | string | Yes |
Title | string | Yes |
Calls
POST /call/make
Start an outgoing WhatsApp audio call.
- Handler:
CallMake - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallTo | string | Yes |
AudioFile | string | No |
POST /call/answer
Answer a tracked incoming call.
- Handler:
CallAnswer - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
POST /call/reject
Reject a tracked incoming call.
- Handler:
CallReject - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
POST /call/hangup
Hang up a tracked call.
- Handler:
CallHangup - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
POST /call/play
Play a server-side audio file into a call.
- Handler:
CallPlay - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
AudioFile | string | Yes |
POST /call/play/pause
Pause call audio playback.
- Handler:
CallPlayPause - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
POST /call/play/resume
Resume call audio playback.
- Handler:
CallPlayResume - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
POST /call/play/stop
Stop call audio playback.
- Handler:
CallPlayStop - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
POST /call/record
Record call audio to WAV on the server.
- Handler:
CallRecord - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
Path | string | No |
POST /call/record/stop
Stop active call recording.
- Handler:
CallRecordStop - Authentication: Session token
| Field | Type | Required |
|---|---|---|
CallID | string | Yes |
GET /call/status
List tracked calls or inspect one call by query parameter.
- Handler:
CallStatus - Authentication: Session token
callID=CALL_ID returns one tracked call. Without it, the endpoint returns all tracked calls.
GET /call/webrtc/config
Return STUN config and TURN coming-soon marker.
- Handler:
CallWebRTCConfig - Authentication: Session token
POST /call/webrtc/offer
Accept browser SDP offer and return WaGo SDP answer.
- Handler:
CallWebRTCOffer - Authentication: Session token
| Field | Type | Required |
|---|---|---|
callID | string | Yes |
sdp | string | Yes |
type | string | No |
POST /call/webrtc/close
Close the browser live-audio bridge without hanging up.
- Handler:
CallWebRTCClose - Authentication: Session token
| Field | Type | Required |
|---|---|---|
callID | string | Yes |
Status
POST /status/text
Text status.
- Handler:
TextStatus - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Text | string | No |
TextColor | number | No |
BackgroundColor | number | No |
Font | number | No |
POST /status/image
Image status.
- Handler:
ImageStatus - Authentication: Session token
| Field | Type | Required |
|---|---|---|
Image | string | No |
Caption | string | No |
POST /status/video
Video status.
- Handler:
VideoStatus - Authentication: Session token
Server and admin
GET /server/ok
Health check.
- Handler:
ServerOk - Authentication: None
POST /server/license
Read license information.
- Handler:
VerifyLicense - Authentication: Admin token
GET /server/update
Check or run server update flow.
- Handler:
UpdateServer - Authentication: Admin token

