Find Intent Receptor
Overview
This scenario lets you find applications that support an intent from a remote API call. Providing a target in the call will fix the intent to a specific app.
From
header is the email of who you want to raise the intent on behalf of.
Example Code
const apiKey = '<api key>';
const intent = '<intent>';
const contextType = '<context-type>'; // optional
const url = 'https://platform.connectifi.app/api/receptors/find-intent?intent=${intent}&contextType=${contextType}';
fetch(
url,
{
method: 'GET',
headers: {
"Authorization" : "Bearer {apiKey}",
"Content-Type": "application/json",
"From": "user@example.com"
}
}
);
Last updated on