REST API-architectuur
Een Uniforme REST API voor alle kanalen
Stop met jongleren met meerdere API-implementaties. Unipile biedt één consistent REST API-schema dat werkt op LinkedIn, WhatsApp, Gmail, Outlook en alle grote communicatieplatforms. Schrijf één keer, integreer overal.
// Eén aanvraagstructuur voor alle providers
const response = wacht op
fetch("https://api.unipile.com/api/v1/messages, {
method: POST,
headers: { 'Authorization': 'Bearer YOUR_TOKEN' },
body: JSON.stringify({
account_id: "acc_123",
attendees: [{ identifier: "contact@example.com" }],
tekst: "Hello from Unipile!"
})
});
// Dezelfde structuur werkt voor:
// LinkedIn - WhatsApp - Gmail - Instagram - Telegram
200 OK - Bericht verzonden