POST
/passthrough
https://api.merge.dev/api/crm/v1/passthrough
US
EU
APAC
Pull data from an endpoint not currently supported by Merge.
Body Parameters
method
EnumRequired
Must pass in one of the following choices:
GET
, OPTIONS
, HEAD
, POST
, PUT
, PATCH
, DELETE
.path
StringRequired
The path of the request in the third party's platform.
base_url_override
StringOptional
An optional override of the third party's base url for the request.
data
StringOptional
The data with the request. You must include a
request_format
parameter matching the data's formatmultipart_form_data
ArrayOptional
Pass an array of
MultipartFormField
objects in here instead of using the data
param if request_format
is set to MULTIPART
.The object
The
MultipartFormField
object is used to represent fields in an HTTP request using multipart/form-data
.Properties
name
StringRequired
The name of the form field
data
StringRequired
The data for the form field.
encoding
EnumOptional
The encoding of the value of
data
. Defaults to RAW
if not defined. Possible values include: RAW
, BASE64
, GZIP_BASE64
. In cases where there is no clear mapping, the original value passed through will be returned.file_name
StringOptional
The file name of the form field, if the field is for a file.
content_type
StringOptional
The MIME type of the file, if the field is for a file.
headers
ObjectOptional
The headers to use for the request (Merge will handle the account's authorization headers).
Content-Type
header is required for passthrough. Choose content type corresponding to expected format of receiving server.request_format
EnumOptional
Must pass in one of the following choices:
JSON
, XML
, MULTIPART
.normalize_response
BooleanRequired
Optional. If true, the response will always be an object of the form
{"type": T, "value": ...}
where T
will be one of string, boolean, number, null, array, object
.