Skip to main content
POST
CSharp (SDK)

Authorizations

Authorization
string
header
required

Send Authorization: Bearer , using an MKA1 API key for automation or an OAuth API access token for a signed-in application. Use a dynamic security callback to refresh OAuth access tokens. Browser session-only operations still require their declared cookie.

Headers

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Body

application/json

One HTTP request for the gateway to send: to a public address only, with no redirects followed, optionally authenticated with the caller's own vault credential.

method
enum<string>
required

HTTP method of the request.

Available options:
GET,
POST,
PUT,
PATCH,
DELETE
url
string<uri>
required

Where the request is sent, query included. It must resolve to a public address. With mcp_server_id, it must have the same origin as that vault server's server_url.

Maximum string length: 8192
headers
object

Request headers. A vault credential's headers replace any of the same name. Do not put secrets here: they are the caller's to store, and the vault exists so they need not be.

body
string

Request body, sent exactly as given. Not allowed with GET.

content_type
string

Content-Type of body. Defaults to application/json when there is a body.

Required string length: 1 - 255
Pattern: ^[!#$%&'*+.^_`|~0-9A-Za-z-]+\/[!#$%&'*+.^_`|~0-9A-Za-z-]+(?:[\t\x20]*;[\t\x20-\x7e]*[\x21-\x7e])?$
timeout_seconds
integer
default:30

How long the server has to answer in full, body included.

Required range: 1 <= x <= 30
mcp_server_id
string

Gateway-managed credential vault server whose credential authenticates the request. Its server_url must have the same origin as url.

Required string length: 1 - 128
mcp_credential_id
string

Credential of mcp_server_id to use, owned by the caller. Defaults to the server's newest active credential.

Required string length: 1 - 128

Response

200 - application/json

OK

object
any
required
status
integer
required

HTTP status the server answered with. A 4xx, 5xx or redirect is an answer too, not an error of this route.

Required range: -9007199254740991 <= x <= 9007199254740991
ok
boolean
required

Whether status is 200 to 299.

content_type
string | null
required

Media type of the answer's body, without parameters. Null when the server named none.

body
string | null
required

The answer's body when it is UTF-8 text (JSON, text/* or XML), with any value of the vault credential it echoes masked. Null when there is none, or when body_omitted is true.

body_bytes
integer
required

Size of the answer's body as received.

Required range: -9007199254740991 <= x <= 9007199254740991
body_omitted
boolean
required

True when the body is not text, or is text the gateway does not read as UTF-8 (it is not valid UTF-8, holds a NUL, or is labelled UTF-7), so it was not returned.