API v2
Integrate with Liner
Send leads from your website and CRM, pull call history and recordings, manage orders and agent groups — all through the Liner REST API. Here you'll find the method reference, request examples and everything you need to launch an integration in a single evening.
REST JSON HTTPS X-Api-Key v2 — current version
The API in numbers
32methods in the current API v2 13resource groups: leads, orders, calls, recordings and more 1 tokenper integration — with its own list of allowed methods JSONin every request and response, including errors
Quick start
Create an integrationParameters → Integrations → “Create integration” → Liner API
Save the tokenPick the methods and lifetime you need, copy the token before saving
Send a requestPass the token in the X-Api-Key header — and you're done
Check that everything is set up with a single request:
curl -X GET "https://YOUR_LINER_API_HOST/v2/health/check/" \
-H "Content-Type: application/json" \
-H "X-Api-Key: YOUR_API_TOKEN"
Step-by-step guide: Getting started.
API v2 reference
LeadsCreate (sync and async), update, detail, list Lead statusesStatus reference for filtering and analytics OrdersCreate, update, detail and list orders Custom fieldsAdditional fields for leads and orders Call historyCall list and details of each call Call recordsList of call recordings and recording details Call statusesReference of call outcomes Call attemptsRedial attempt rules UsersUser list and profile details Agent groupsCreate, update and list groups Virtual numbersNumbers available for calls NotificationsPrivate, public and group messages, tags Health checkCheck that Liner services are up
Coming soon
SDKs for different languagesReady-made API clients for popular languagesIn development Best practicesRecommendations for reliable and secure integrationsIn development
Need help with your integration?Can't find a method or something doesn't work — write to us [email protected]