---
title: "API overview"
description: "Base URL, headers, and request conventions for the Wazapin API."
---

> Documentation Index
> Fetch the complete documentation index at: https://docs.wazapin.id/llms.txt
> Use this file to discover all available pages before exploring further.

# API overview

All API requests go to `https://api.wazapin.com`. This page covers the conventions every integration uses.

## Base URL

```text
https://api.wazapin.com
```

## Common headers

- `X-Api-Key: <api_key>` (recommended)
- `Content-Type: application/json`
- `Accept: application/json`

## Example request

```bash cURL
curl -X GET "https://api.wazapin.com/v1/messages" \
  -H "X-Api-Key: YOUR_API_KEY" \
  -H "Accept: application/json"
```

:::info
Bearer token is still supported for session-based auth, but all quick examples in this docs use `X-Api-Key`.
:::

## Example response

```json Response
{
  "data": [
{
  "id": "msg_123",
  "status": "sent",
  "to": "6281234567890"
}
  ],
  "meta": {
"next_cursor": "cursor_abc"
  }
}
```

## Versioning

- API path uses version prefix: `/v1/...`
- Breaking changes are released in a new major version.

## Next steps

- [API playground](/api/playground-guide)
- Switch to the **API Reference** tab for OpenAPI-generated endpoint pages.
- [Authentication](/api/authentication)
- [Error handling](/api/errors)
- [Rate limits](/api/rate-limits)
- [Reference: contacts](/api/reference-contacts)
- [Send a message](/api-reference/messages/send-a-message)
- [Channel support](/api/channel-support)

Source: https://docs.wazapin.id/api/overview/index.mdx
