What an API does
An API acts as a bridge between applications. With it, developers can:- Automate operations: create, update, or delete data (like links or campaigns).
- Retrieve analytics: feed reporting dashboards, CRMs, or BI tools.
- Send or receive events: record conversions, trigger workflows, or respond to external updates.
- Build integrations: connect ShortPen with other platforms (e.g., Make, Zapier, etc.).
When and why to use APIs
Use APIs when you want to:- Scale repetitive tasks (e.g., automate link creation from a CMS or e-commerce store).
- Integrate systems (e.g., sync click data into Google Sheets or a BI tool).
- Enhance workflows (e.g., trigger events after specific actions in your product).
- Build new experiences (e.g., your own custom dashboard powered by ShortPen data).
How APIs work
When you make an API request, your app sends a message to ShortPen’s servers, often using HTTPS. Each request includes:- A URL endpoint (the resource you want to access, like
/linksor/analytics). - A method (e.g., GET to read, POST to create).
- Headers and authentication (your secure credentials).
See also: API Reference
Common Use Cases
| Use Case | Example |
|---|---|
| Automating link creation | Generate tracking links directly from your CMS or store |
| Reporting | Sync link performance data to a BI dashboard |
| Event tracking | Send post-purchase events from your backend |
| Integration | Connect ShortPen to workflow tools like Make or Zapier |
FAQ
What is an API in simple terms?
What is an API in simple terms?
An API lets one program talk to another automatically. It defines how they exchange information and perform actions securely.
Do I need to code to use the API?
Do I need to code to use the API?
Typically, yes. APIs are designed for developers. However, tools like Zapier or Make use the API for you through no-code integrations.
Is API access available to all users?
Is API access available to all users?
API access and webhooks are available on paid plans. If you downgrade to Free, API calls stop but your data remains safe.
What’s the difference between API and webhook?
What’s the difference between API and webhook?
An API lets your system request data or perform actions. A webhook sends data to you automatically when an event happens.