POST
/passthrough

https://api.merge.dev/api/crm/v1/passthrough

US
EU

Pull data from an endpoint not currently supported by Merge.


Body Parameters

methodEnum
Required
Must pass in one of the following choices: GET, OPTIONS, HEAD, POST, PUT, PATCH, DELETE.

pathString
Required
The path of the request in the third party's platform.

base_url_overrideString
Optional
An optional override of the third party's base url for the request.

dataString
Optional
The data with the request. You must include a request_format parameter matching the data's format

multipart_form_dataArray
Optional
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

nameString
Required
The name of the form field

dataString
Required
The data for the form field.

encodingEnum
Optional
The encoding of the value of data. Defaults to RAW if not defined. Possible values include: RAW, BASE64, GZIP_BASE64.

file_nameString
Optional
The file name of the form field, if the field is for a file.

content_typeString
Optional
The MIME type of the file, if the field is for a file.

headersObject
Optional
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_formatEnum
Optional
Must pass in one of the following choices: JSON, XML, MULTIPART.

normalize_responseBoolean
Required
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.