Postman
Postman is a great way to explore and test the API Alerts API before integrating it into your application.
Import via OpenAPI
The fastest way to get started is to import the API Alerts OpenAPI spec directly into Postman.
Option 1 — Import from URL
- Open Postman and click Import
- Select the Link tab
- Paste the following URL and click Continue:
https://api.apialerts.com/openapi.yaml
Option 2 — Download and import
- Download the spec from api.apialerts.com/openapi.yaml
- Open Postman and click Import
- Select the File tab and upload the downloaded file
Once imported, Postman will create a collection with all available endpoints pre-configured.
Set Up Authentication
After importing, configure your API key so every request is authenticated automatically.
- Open the imported API Alerts collection
- Go to the Variables tab
- Set the
baseUrlvariable tohttps://api.apialerts.com - Go to the Authorization tab
- Set the type to Bearer Token
- Enter your API key from the dashboard
Now all requests in the collection will use your API key automatically.
Send Your First Event
- Open the Submit Event request (
POST /event) - Go to the Body tab — it should already be set to raw / JSON
- Enter a payload:
Only message is required. All other fields are optional.
{
"message": "Hello from Postman!",
"channel": "developers",
"link": "https://example.com",
"tags": ["test"]
}
- Click Send
A successful response looks like:
{
"workspace": "My Workspace",
"channel": "developers",
"uuid": "550e8400-e29b-41d4-a716-446655440000",
"remainingQuota": 4832
}
Resources
- OpenAPI Spec — Download the raw OpenAPI spec
- Swagger UI — Interactive API explorer
- API Reference — Full endpoint documentation with all fields and error codes