# auth.md

## Infobip API Authentication

Infobip APIs use API key authentication for all communication services.

### Getting an API Key

1. Sign up at https://www.infobip.com/signup
2. Log in to the Infobip Portal
3. Navigate to the API Keys section in your account dashboard
4. Generate a new API key

### Using Your API Key

Include the API key in the `Authorization` header of every request:

```
Authorization: App {YOUR_API_KEY}
```

### Base URL

Your unique base URL is assigned upon registration and follows this pattern:

```
https://{your-base-url}.api.infobip.com
```

### Available APIs

- **Messaging:** SMS, MMS, WhatsApp, Viber, RCS, Email, Voice
- **Platform:** Contacts, Segments, Events, Campaigns
- **AI/Agents:** MCP server integration (see https://www.infobip.com/docs/mcp)

### Documentation

- Full API reference: https://www.infobip.com/docs/api
- MCP servers: https://www.infobip.com/docs/mcp
- Developer portal: https://www.infobip.com/docs/