POST
/crm/passthrough
vessel-api-token*
curl --request POST \
--url https://api.vessel.land/crm/passthrough \
--header 'Content-Type: application/json' \
--header 'vessel-api-token: ' \
--data '{
"accessToken": "string",
"method": "PATCH",
"path": "services/data/v53.0/sobjects/Account/0011A00001XQ4QSQAZ",
"body": {
"Name": "Vessel"
}
}'
Body
pathRequired
string
The path to send the request to. Vessel handles the domain so for a request to Salesforce instead of using https://mydomain.my.salesforce.com/services/data/v52.0/sobjects/Account
you would use services/data/v52.0/sobjects/Account
.
methodRequired
string
Available options:
GET
, POST
, PUT
, PATCH
, DELETE
accessTokenRequired
string
body
object
The body of the request.
query
object
The query parameters to send with the request as key value pairs. These are appended to the URL when the request is sent to the CRM.
Response
headers
object
url
string
The full URL that the request was sent to.
statusCode
number
The HTTP status code of the response from the downstream CRM.
body
curl --request POST \
--url https://api.vessel.land/crm/passthrough \
--header 'Content-Type: application/json' \
--header 'vessel-api-token: ' \
--data '{
"accessToken": "string",
"method": "PATCH",
"path": "services/data/v53.0/sobjects/Account/0011A00001XQ4QSQAZ",
"body": {
"Name": "Vessel"
}
}'