Calls
Everything about your Calls
Operations
| Method | Endpoint | Description |
|---|---|---|
GET | /calls | List all calls |
GET | /calls/{call_id} | Get a call |
GET | /calls/{call_id}/recording | Get call recording by call id |
GET | /calls/{call_id}/transcript | Get call transcript by call id |
POST | /calls/search | List calls with transcripts |
POST | /fin_voice/register | Register a Fin Voice call |
GET | /fin_voice/collect/{id} | Collect Fin Voice call by ID |
GET | /fin_voice/external_id/{external_id} | Collect Fin Voice call by external ID |
GET | /fin_voice/phone_number/{phone_number} | Collect Fin Voice call by phone number |
GET | /fin_voice/conversation/{conversation_id} | Collect Fin Voice calls by conversation ID |
Example
List all calls, with the TypeScript SDK:
ts
import { Intercom } from "@octridev/intercom";
const client = new Intercom({
// Optional: replaces the default server and any server an operation declares.
baseUrl: "https://api.intercom.io",
auth: { bearerAuth: process.env.API_TOKEN! },
});
const result = await client.calls.list();
console.log(result);Nine more languages
The same call exists in every SDK. See SDKs for the other nine.