POST
/
unified
/
proxy
curl --request POST \
  --url https://api.stackone.com/unified/proxy \
  --header 'Authorization: Basic <encoded-value>' \
  --header 'Content-Type: application/json' \
  --header 'x-account-id: <x-account-id>' \
  --data '{
  "url": "https://api.sample-integration.com/v1",
  "method": "get",
  "path": "/employees/directory",
  "headers": {
    "Content-Type": "application/json"
  },
  "body": {}
}'

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Headers

x-account-id
string
required

The account identifier

Body

application/json
The request body
url
string | null

The base url of the request

Example:

"https://api.sample-integration.com/v1"

method
enum<string> | null
default:get

The method of the request

Available options:
get,
post,
put,
delete,
patch
path
string | null

The path of the request including any query paramters

Example:

"/employees/directory"

headers
object | null

The headers to send in the request

Example:
{ "Content-Type": "application/json" }
body
object | null

The body of the request

Response

200
_mintlify/placeholder

The proxy request was successful.