Create mapping API
Create a new external HTTP API endpoint used to enrich alerts via HTTP lookup.
Restrictions
| Aspect | Value |
|---|---|
| Rate limits | 1,000 requests/minute; 50 requests/second per account |
| Permissions | Mappings Manage (on-call) |
Usage
urlmust start withhttp://orhttps://and cannot resolve to an internal IP (in SaaS mode).timeoutis the HTTP read timeout in seconds (1–3, default 2).retry_countis the number of retries on failure (0–1, default 0).- Headers with security-sensitive names (e.g.
authorization,cookie) are rejected in SaaS mode. - An account can have at most 50 mapping APIs.
- Every call is recorded in the account audit log. Don’t put secrets in request fields.
Authorizations
App key issued from the Flashduty console under Account → APP Keys. Required on every public API call. Keep it secret — it grants the same access as the owning account.
Body
Unique API name (max 199 chars).
199HTTP/HTTPS endpoint URL (max 500 chars).
500Optional description.
Skip TLS certificate verification. Default false.
Custom HTTP request headers.
Request timeout in seconds (1–3). Default 2.
Number of retries on failure (0–1). Default 0.
Owning team ID.
Response
Success
Success response envelope. On every 2xx response, request_id identifies the call (also mirrored in the Flashcat-Request-Id header) and data holds the endpoint-specific payload. Failure responses use a different shape — see ErrorResponse.