API & Integrations
The 0bla API lets you integrate short link creation, management and analytics into your own tools. Designed with the same logic as the service: simple, controlled, no unnecessary exposure.
1. API Access
The API is accessible via session-based authentication. Unlike classic models based on client-side exposed tokens, 0bla uses: secure server-side PHP sessions, no persistent public token, centralized access control. Full documentation available at /api-docs (authentication required).
2. Main Endpoints
The API covers essential operations: link creation, update, deletion, statistics retrieval, data export (CSV). Endpoints are designed to be simple, predictable and limited to what is strictly necessary.
3. Authentication Logic
The API uses session-based logic: authentication via user session, no JWT, no client-side API key. This approach reduces credential leak risks and limits automated abuse.
4. Webhooks
0bla lets you configure webhooks to automate your workflows. When an event occurs (e.g., link click), an HTTP request is sent to your endpoint. Use cases: real-time tracking, CRM integration, marketing or technical automation.
5. Custom Domains
You can associate your own domain with your short links. Setup: create a CNAME record, point to 0bla.com, validate from your dashboard.
6. Limits and Rate Limiting
To ensure service stability, certain limits may be applied: request rate limiting, automated abuse protection, plan-based restrictions (Free, Pro, Business...).
7. Use Cases
The 0bla API can be used to: automate link generation, integrate short links into a SaaS product, track internal campaigns without invasive tracking, connect systems via webhooks. Particularly suited for environments where privacy is a strong constraint.
To access the full documentation, log in then visit /api-docs. For any question, use Contact.