Skip to main content
POST
Create mapping API

Authorizations

app_key
string
query
required

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

application/json
api_name
string
required

Unique API name (max 199 chars).

Maximum string length: 199
url
string<uri>
required

HTTP/HTTPS endpoint URL (max 500 chars).

Maximum string length: 500
description
string

Optional description. Values longer than 500 characters are silently truncated.

insecure_skip_verify
boolean

Skip TLS certificate verification. Default false.

headers
object

Custom HTTP request headers. In SaaS mode, security-sensitive names (authorization, cookie, x-forwarded-for, etc.) are rejected; keys must be RFC 7230 token characters (max 1024 chars) and values max 4096 chars.

timeout
integer

Request timeout in seconds (1–3). Default 2.

Required range: 1 <= x <= 3
retry_count
integer

Number of retries on failure (0–1). Default 0.

Required range: 0 <= x <= 1
team_id
integer<int64>

Owning team ID; obtain it from POST /team/list.

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.

request_id
string
required

Unique ID for this request. Mirrored in the Flashcat-Request-Id response header. Include it when reporting issues.

Example:

"01HK8XQE3Z7JM2NTFQ5YJ8P9R4"

data
object
required

Endpoint-specific payload. See each operation's 200 response schema.