API Reference

Complete documentation for the MITPO Universal API

Base URL

https://api.mitpo.io

Authentication

All API requests must include your API key in the Authorization header as a Bearer token. Keys can be created from the API Keys page. Key management is handled in the MITPO portal UI and session-authenticated routes, not via the external Bearer API surface.

Request header
Authorization: Bearer mk_live_your_api_key_here

Test keys

Prefixed with mk_test_. Access a sandbox environment where no real ads are created and no credits are consumed. Use these during development and integration testing.

Live keys

Prefixed with mk_live_. Dispatch real campaigns and consume credits from your account balance. Live execution also requires the relevant provider account to be connected in MITPO. Keep these secret and never expose them in client-side code.

Example authenticated request
curl https://api.mitpo.io/v1/campaigns \
  -H "Authorization: Bearer mk_live_abc123..."

Ready to automate campaign operations?