Search Plus UI Blocks

Find a block, a category or a site

API keys and webhooks settingsdeveloper-settings-api-keys

Use in Plus UI
npx shadcn@latest add https://blocks.plusui.com/r/developer-settings-api-keys.json

Settings & billing · 11 variants

← → to step through · + on a thumbnail to compare side by side (up to 3)

/preview/developer-settings-api-keys
Open ↗

Default content

{
  "eyebrow": "pellora · Settings",
  "title": "API keys & webhooks",
  "description": "Keys let CI and scripts deploy for your team. Webhooks tell your systems when a deployment starts, succeeds or fails.",
  "locale": "en-GB",
  "tabs": {
    "keys": "API keys",
    "webhooks": "Webhooks"
  },
  "keys": {
    "heading": "API keys",
    "description": "A key acts with the permissions of its scope across every project in this team. We show a key once, when you create it.",
    "create": "Create key",
    "secretPrefix": "rvt_live_",
    "scopes": [
      {
        "value": "read",
        "label": "Read only",
        "description": "List projects, deployments and logs"
      },
      {
        "value": "deploy",
        "label": "Deploy",
        "description": "Create and promote deployments"
      },
      {
        "value": "admin",
        "label": "Full access",
        "description": "Everything, including domains and members"
      }
    ],
    "expiries": [
      {
        "value": "30",
        "label": "30 days"
      },
      {
        "value": "90",
        "label": "90 days"
      },
      {
        "value": "365",
        "label": "1 year"
      },
      {
        "value": "never",
        "label": "No expiry"
      }
    ],
    "items": [
      {
        "id": "k1",
        "name": "GitHub Actions — production",
        "prefix": "rvt_live_8fK2",
        "scope": "deploy",
        "created": "2026-03-14",
        "lastUsed": "4 min ago"
      },
      {
        "id": "k2",
        "name": "Status page reader",
        "prefix": "rvt_live_Qm7d",
        "scope": "read",
        "created": "2026-05-02",
        "lastUsed": "1 h ago"
      },
      {
        "id": "k3",
        "name": "Terraform",
        "prefix": "rvt_live_Zp41",
        "scope": "admin",
        "created": "2026-01-20",
        "lastUsed": "12 days ago"
      },
      {
        "id": "k4",
        "name": "Old Jenkins box",
        "prefix": "rvt_live_c0Xa",
        "scope": "deploy",
        "created": "2025-08-09",
        "lastUsed": "3 months ago",
        "revoked": true
      }
    ],
    "columns": {
      "name": "Name",
      "key": "Key",
      "scope": "Scope",
      "created": "Created",
      "lastUsed": "Last used",
      "actions": "Actions"
    },
    "active": "Active",
    "revoked": "Revoked",
    "never": "Never",
    "justNow": "Never used",
    "dialog": {
      "title": "Create an API key",
      "description": "Name it after where it will live, so you know what breaks if you revoke it.",
      "name": "Name",
      "namePlaceholder": "GitHub Actions — staging",
      "scope": "Scope",
      "expiry": "Expires",
      "submit": "Create key",
      "cancel": "Cancel"
    },
    "reveal": {
      "title": "Copy your new key",
      "description": "This is the only time we'll show the full key. Store it in your CI secrets or a password manager before closing this window.",
      "copy": "Copy key",
      "copied": "Copied",
      "confirm": "I've stored this key somewhere safe",
      "done": "Done"
    },
    "revoke": {
      "action": "Revoke",
      "title": "Revoke {name}?",
      "description": "Anything using this key stops working straight away. Deployments already running will finish.",
      "confirm": "Revoke key",
      "cancel": "Keep key"
    }
  },
  "webhooks": {
    "heading": "Webhook endpoints",
    "description": "We POST a signed JSON payload to each endpoint for the events it listens to, and retry failures for up to 24 hours.",
    "add": "Add endpoint",
    "enabled": "Enabled",
    "health": "{rate} delivered · last {time}",
    "eventCount": "{count} events",
    "eventGroups": [
      {
        "label": "Deployments",
        "events": [
          {
            "value": "deployment.created",
            "description": "A build was queued"
          },
          {
            "value": "deployment.ready",
            "description": "A deployment is live"
          },
          {
            "value": "deployment.failed",
            "description": "A build or health check failed"
          },
          {
            "value": "deployment.promoted",
            "description": "A preview became production"
          }
        ]
      },
      {
        "label": "Domains",
        "events": [
          {
            "value": "domain.verified",
            "description": "DNS checks passed"
          },
          {
            "value": "certificate.expiring",
            "description": "A certificate expires within 14 days"
          }
        ]
      }
    ],
    "endpoints": [
      {
        "id": "we_1",
        "url": "https://ops.pellora.com/hooks/rivetlane",
        "events": [
          "deployment.ready",
          "deployment.failed",
          "deployment.promoted"
        ],
        "enabled": true,
        "rate": "99.4%",
        "last": "4 min ago"
      },
      {
        "id": "we_2",
        "url": "https://hooks.chatrelay.dev/T04/deploys",
        "events": [
          "deployment.failed",
          "certificate.expiring"
        ],
        "enabled": true,
        "rate": "91.0%",
        "last": "38 min ago"
      }
    ],
    "dialog": {
      "title": "Add a webhook endpoint",
      "description": "Use an HTTPS URL that answers within 10 seconds with a 2xx status.",
      "url": "Endpoint URL",
      "urlPlaceholder": "https://example.com/webhooks/rivetlane",
      "events": "Events to send",
      "selectAll": "Select all",
      "submit": "Add endpoint",
      "cancel": "Cancel",
      "invalidUrl": "Enter a full https:// URL.",
      "noEvents": "Pick at least one event."
    },
    "deliveries": {
      "heading": "Recent deliveries",
      "columns": {
        "event": "Event",
        "endpoint": "Endpoint",
        "status": "Status",
        "duration": "Duration",
        "time": "Sent"
      },
      "retry": "Retry",
      "retrying": "Retrying…",
      "payload": "Payload",
      "response": "Response",
      "toggle": "Payload for {event}",
      "items": [
        {
          "id": "d1",
          "event": "deployment.ready",
          "endpoint": "we_1",
          "code": 200,
          "durationMs": 182,
          "time": "4 min ago",
          "payload": "{\n  \"type\": \"deployment.ready\",\n  \"deployment\": { \"id\": \"dpl_8fK1wd\", \"service\": \"edge-cache\", \"environment\": \"production\" },\n  \"created\": \"2026-10-10T09:41:12Z\"\n}",
          "response": "200 OK · {\"received\": true}"
        },
        {
          "id": "d2",
          "event": "deployment.failed",
          "endpoint": "we_2",
          "code": 0,
          "durationMs": 10000,
          "time": "38 min ago",
          "payload": "{\n  \"type\": \"deployment.failed\",\n  \"deployment\": { \"id\": \"dpl_8fJx7m\", \"service\": \"search-indexer\", \"environment\": \"staging\" },\n  \"reason\": \"health check failed\"\n}",
          "response": "No response within 10 s"
        },
        {
          "id": "d3",
          "event": "deployment.failed",
          "endpoint": "we_1",
          "code": 200,
          "durationMs": 240,
          "time": "38 min ago",
          "payload": "{\n  \"type\": \"deployment.failed\",\n  \"deployment\": { \"id\": \"dpl_8fJx7m\", \"service\": \"search-indexer\", \"environment\": \"staging\" }\n}",
          "response": "200 OK"
        },
        {
          "id": "d4",
          "event": "deployment.promoted",
          "endpoint": "we_1",
          "code": 503,
          "durationMs": 1210,
          "time": "2 h ago",
          "payload": "{\n  \"type\": \"deployment.promoted\",\n  \"deployment\": { \"id\": \"dpl_8fJr2k\", \"service\": \"notifications-svc\" }\n}",
          "response": "503 Service Unavailable"
        }
      ],
      "timeout": "Timeout",
      "ms": "{n} ms"
    }
  }
}