POST
/
api
/
v1
/
passthrough
Make Passthrough Request
curl --request POST \
  --url https://api.bindbee.dev/api/v1/passthrough \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'x-connector-token: <x-connector-token>' \
  --data '{
  "method": "POST",
  "path": "/employees",
  "headers": {
    "Content-Type": "application/json"
  },
  "params": {
    "a": 1,
    "b": 2
  },
  "data": "<any>",
  "request_format": "JSON",
  "response_format": "JSON",
  "timeout": 300
}'
"<any>"

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

x-connector-token
string
required

Body

application/json
method
enum<string>
required

Method of the request

Available options:
GET,
POST,
PUT,
PATCH,
DELETE
path
string
required

Path of the request

Example:

"/employees"

headers
object | null
required

headers of the request

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

params of the request

Example:
{ "a": 1, "b": 2 }
data
any

Body of the request

request_format
enum<string> | null
default:JSON

format of the request

Available options:
JSON,
XML,
MULTIPART
Example:

"JSON"

response_format
enum<string> | null
default:JSON

format of the response

Available options:
JSON,
XML,
MULTIPART
Example:

"JSON"

timeout
number | null

timeout of the request

Example:

300

Response

Successful Response

The response is of type any.