Send raw JSON to a platform endpoint
curl --request POST \
--url https://sandbox.composer.id/v1/passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"intent_id": "<string>",
"provider": "<string>",
"path": "<string>"
}
'import requests
url = "https://sandbox.composer.id/v1/passthrough"
payload = {
"intent_id": "<string>",
"provider": "<string>",
"path": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({intent_id: '<string>', provider: '<string>', path: '<string>'})
};
fetch('https://sandbox.composer.id/v1/passthrough', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intent_id": "itn_7f3aK2mQ9xLp",
"provider": "<string>",
"method": "<string>",
"path": "<string>",
"recorded": true,
"note": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Send raw JSON to a platform endpoint
POST
/
passthrough
Send raw JSON to a platform endpoint
curl --request POST \
--url https://sandbox.composer.id/v1/passthrough \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '
{
"intent_id": "<string>",
"provider": "<string>",
"path": "<string>"
}
'import requests
url = "https://sandbox.composer.id/v1/passthrough"
payload = {
"intent_id": "<string>",
"provider": "<string>",
"path": "<string>"
}
headers = {
"Authorization": "Bearer <token>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'},
body: JSON.stringify({intent_id: '<string>', provider: '<string>', path: '<string>'})
};
fetch('https://sandbox.composer.id/v1/passthrough', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"intent_id": "itn_7f3aK2mQ9xLp",
"provider": "<string>",
"method": "<string>",
"path": "<string>",
"recorded": true,
"note": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
oauth2bearerAuth
Body
application/json
Raw platform API call anchored to an intent_id. Escape hatch for fields or endpoints not covered by MappingProfiles โ the call is logged on the intent timeline for auditability.
Response
OK