Whatsapp API¶
This document describes the available endpoints for the Klikodoo Whatsapp API Integration API based on the provided Postman collection.
Base URL¶
https://klikodoo.id
Authentication¶
Some endpoints require a Bearer token. Example:
Authorization: Bearer <your_token_here>
Authenticate (WA)¶
GET
https://klikodoo.id/api/wa/authentication
No Auth
{
"params": {
"client_id": "<key>",
"client_secret": "<secret>"
}
}
Protected¶
GET
https://klikodoo.id/api/wa/protected
Bearer Token
{
"params": {
"client_secret": "<secret>"
}
}
Limit¶
GET
https://klikodoo.id/api/wa/2.0/limit
No Auth
{
"params": {
"client_secret": "<secret>"
}
}
Get QR¶
GET
https://klikodoo.id/api/wa/2.0/qr
No Auth
{
"params": {
"client_secret": "<secret>"
}
}
Check Number¶
GET
https://klikodoo.id/api/wa/2.0/check
No Auth
{
"params": {
"phone": "6285863963913"
}
}
Login¶
GET
https://klikodoo.id/api/wa/2.0/get
No Auth
{
"params": {
"method": "login",
"client_secret": "<client_secret>"
}
}
Status¶
GET
https://klikodoo.id/api/wa/2.0/get
Bearer Token
{
"params": {
"method": "status",
"client_secret": "<secret>"
}
}
Check Account¶
POST
https://klikodoo.id/api/wa/2.0/post
Bearer Token
Important
Token is required Token
{
"params": {
"method": "check",
"client_secret": "<client_secret>",
"version": "v15",
"whatsapp_number": "6285863963913",
"whatsapp_webhook": "https://klikodoo.id/"
}
}
Update Account¶
POST
https://klikodoo.id/api/wa/2.0/post
No Auth
{
"params": {
"method": "update",
"client_secret": "<client_secret>",
"version": "18.0.1.0",
"whatsapp_number": "6285863963913",
"whatsapp_webhook": "https://klikodoo.id/"
}
}
Send Message¶
POST
https://klikodoo.id/api/wa/2.0/post
Bearer Token
Important
Token is required Token
{
"params": {
"method": "sendMessage",
"client_secret": "<client_secret>",
"version": "18.0.1.0",
"phone": "6281288776713",
"body": "Test"
}
}
Send File¶
POST
https://klikodoo.id/api/wa/2.0/post
Bearer Token
Important
Token is required Token
{
"params": {
"method": "sendFile",
"client_secret": "<client_secret>",
"version": "18.0.1.0",
"phone": "6281288776713",
"body": "data:image/jpeg;base64,",
"filename": "This is name file",
"caption": "Caption on files"
}
}
Important
body is base64 format
Note