Skip to content

API Keys

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

API keys management page

Owners and admins manage keys. Members and viewers cannot create, list or delete them.

  1. Go to Settings > API Keys.
  2. Click Create Key.
  3. Enter a Key Name that identifies the integration (for example “CI Pipeline” or “Terraform”).
  4. 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.
  5. Click Create.
  6. Copy the key. It is shown once and cannot be retrieved later.
  7. 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.

ScopeDescription
monitorsMonitors, monitor groups and monitor states.
alertsRead, acknowledge, and resolve alerts.
escalation_policiesManage escalation policies.
notification_channelsManage notification channels.
maintenance_windowsManage 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.

Include the key in the Authorization header of your API requests:

Terminal window
curl -H "Authorization: Bearer $YIPYAP_API_KEY" \
https://console.yipyap.run/api/v1/monitors

Keys 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.

  • 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.

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.

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.

  • 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.