Skip to main content

Getting Started

Overview​

Welcome to the Api.co.id API documentation. Learn how to integrate messaging capabilities into your applications.

The Api.co.id API allows you to send messages via WhatsApp, Instagram, and Messenger, manage contacts, and receive real-time notifications through webhooks.

  • API Keys — Create and manage API keys for authentication
  • Webhooks — Receive real-time event notifications

Base URL​

https://chat.api.co.id/api/v1/public

Postman Collection​

Download our complete Postman Collection — pre-configured with all endpoints, authentication, and example payloads. Just import, set your API key, and start testing.

Download Postman Collection

How to use: Open Postman → File → Import → drop the JSON file → set api_key variable → start testing.

Authentication​

All API requests require authentication using Bearer tokens.

Request Headers​

Authorization: Bearer YOUR_API_KEY
Content-Type: application/json
warning

Important: Keep your API keys secure. Never commit them to version control or expose them in client-side code.

Example Request​

curl -X GET "https://chat.api.co.id/api/v1/public/health" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "Content-Type: application/json"
Was this page helpful?