API Keys
API keys allow you to interact with the YipYap API from scripts, CI/CD pipelines, and external integrations.

Creating an API Key
Section titled “Creating an API Key”Owners and admins manage keys. Members and viewers cannot create, list or delete them.
- Go to Settings > API Keys.
- Click Create Key.
- Enter a Key Name that identifies the integration (for example “CI Pipeline” or “Terraform”).
- Choose what the key can do:
- Read-only: the key can read but cannot change anything.
- Full access: the key can read and change everything an API key can reach.
- Advanced: tick a checkbox for each resource the key needs. Pick the fewest the integration needs.
- Click Create.
- Copy the key. It is shown once and cannot be retrieved later.
- Store the key in a secrets manager or environment variable. Never commit it to version control.
New keys expire after 90 days by default. You can pick another expiry date, or no expiry, when you create the key. An expired key stops working; create a new one and update your integration before then.
Scopes
Section titled “Scopes”| Scope | Description |
|---|---|
monitors | Monitors, monitor groups and monitor states. |
alerts | Read, acknowledge, and resolve alerts. |
escalation_policies | Manage escalation policies. |
notification_channels | Manage notification channels. |
maintenance_windows | Manage maintenance windows. |
Only these route groups check scopes. A key with any scope can still call other routes. See Authentication: Scopes for the exact rules, including read-only keys.
Using the API Key
Section titled “Using the API Key”Include the key in the Authorization header of your API requests:
curl -H "Authorization: Bearer $YIPYAP_API_KEY" \ https://console.yipyap.run/api/v1/monitorsKeys look like yy_ followed by 64 lowercase hex characters. To catch a leaked key, have your secret scanner match \byy_[0-9a-f]{64}\b. See Authentication.
Key Management
Section titled “Key Management”- Rotate: Create a new key, update your integrations, then revoke the old key.
- Revoke: Click Revoke next to a key and confirm. Requests with that key fail at once.
- Audit: The API Keys page shows who created each key, when, and when it was last used.
Ownership and review
Section titled “Ownership and review”Keys belong to the organization, not to the person who created them, so an integration keeps working when that person leaves. Each key shows its creator, and owners and admins should review the list regularly and revoke keys nobody needs.
When an admin removes a member who created keys, YipYap asks whether to revoke them, for example “This person created 2 keys. Revoke them?” Revoke them unless an integration still depends on them. Keys you keep stay listed under their creator for review.
Rate Limits
Section titled “Rate Limits”The resource endpoints an API key calls (monitors, alerts and so on) have no request rate limit today. The heartbeat, Events API and CloudEvents ingest (YipYap Cloud only) endpoints are limited per client IP. See Rate Limits for the values and how to back off on 429 Too Many Requests.
Security
Section titled “Security”- Never commit API keys to version control.
- Use environment variables or a secrets manager to store keys.
- Rotate keys periodically and after any suspected compromise.