Skip to content
Esc
↑↓navigate↵open⌘Jpreview

Verify the partner API gateway

Public routing proof for an HTTPS gateway. Forward to the shared API hostname and override x-spacefast-tenant-id with this tenant ID. DNS ownership and HTTPS are verified by the outbound probe.

GET/v1/tenants/{tenantId}/api-origin-verification
Path parameters
tenantIdstringrequired
min length 1
Query parameters
noncestring<uuid>required
matches ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$
Header parameters
x-spacefast-tenant-idstringrequired
min length 1
Responses
200

Nonce-bound gateway routing proof.

string
default

Problem details (RFC 9457). Any 4xx/5xx response is one application/problem+json document.

$schemastring<uri>

Canonical JSON Schema URL for this response body. The server also sends it in the Link: rel="describedby" response header.

typestringrequired

Problem type URI resolving to the error docs page. The server derives it mechanically from code against the docs origin.

titlestringrequired

Short human-readable summary of the problem type. The server derives it mechanically from code.

statusintegerrequired

HTTP status code of this response, repeated in the body.

min -9007199254740991 · max 9007199254740991
detailstringrequired

Human-readable failure explanation for this occurrence.

codestringrequired

Stable snake_case error code naming the failed public contract.

pointerstring

RFC 6901 JSON Pointer into the failing request field, for example "/files/37/path", on validation failures.

detailsobject

Machine-readable context for the error code.

fixstring

One sentence on what to do about this error code, the same text as the type page. Read it before retrying.

suggestionsstring[]

Actionable recovery steps safe to show in dashboards, SDKs, and CLI output.

nextstring[]

Copy-pasteable commands or API requests an agent can run next.

requestIdstringrequired

The request id to quote when contacting support.

Try it
Server
Parameters
Request
curl -X GET 'https://api.spacefast.com/v1/tenants/string/api-origin-verification?nonce=497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'x-spacefast-tenant-id: string' \
  -H 'Accept: application/problem+json'
Response
"string"

Was this page helpful?