Click to call API

Click to call API from your CRM.

A click to call API starts a call from your own software. POST /calls/click-to-call rings a TalkChief member first, then connects them to the destination number. It is for a CRM or internal tool, and it is not a full telephony API. The member must be online and not already on a call.

7-day free trial. A $1 card check that is released right away.

Member first, then the destinationKey in the body or X-API-Key300 requests per minute
TalkChief desktop workspace
Call history in the desktop workspace. The API places the call; this screen is where the team sees it afterward. Contact names and avatars shown are illustrative.
What you get

What does a click to call API send?

One request rings the member you name, then connects that member to the destination number.

POST /calls/click-to-call

Add that path to the base URL shown with your key. The request rings the TalkChief member first, then connects them to the destination number.

Key in the body or the header

Send api_key in the JSON or form body, or send the same key in the X-API-Key header. If both are present, the body value wins. The key is 64 characters.

Email or extension

Name the member with email or extension. You must send one of them. If you send both, TalkChief uses email and ignores extension.

300 requests per minute

That is the limit for this request. Over the limit, you get HTTP 429 before the request is processed. Wait and retry.

How it works

How does click to dial reach the member?

The destination is the number you pass. The member has to be signed in and free to take the call.

From your server

Run the request on your server. The key should not be in browser code or a public repository. JSON and form fields are both accepted.

A destination with a country code

Send the number with the country code. TalkChief keeps digits, commas, and periods, and at least 9 characters must remain.

An online member

The member must be online on a TalkChief device and not already on a call. auto_answer true tries the desk phone first. auto_answer false rings the member's devices.

A call id for the CRM

The response adds call_id on custom_param. Keep it so you can match the CRM record. The CDR webhook sends the call record when the call finishes.

Request

What does a click to call request look like?

The body below is the documented JSON. Add it to POST /calls/click-to-call on the base URL shown with your key.

{
  "api_key": "YOUR_CLICK_TO_CALL_KEY",
  "destination": "15555550123",
  "email": "[email protected]",
  "auto_answer": "true",
  "custom_param": { "crm_record_id": "12345" }
}
Questions, answered

Questions teams ask first

What does the click to call API do?
POST /calls/click-to-call rings a TalkChief member first, then connects them to the destination number. Use it to start a call from a CRM, a helpdesk, or an internal tool. It is not a full telephony API.
Where do I send the API key?
Send the 64-character key in the request body as api_key, or in the X-API-Key header. If both are present, the body value wins. Run the request from your server so the key never reaches a browser.
What is the click to call rate limit?
300 requests per minute. A request over that limit returns HTTP 429 before it is processed. A request TalkChief does process returns HTTP 200, including when the call was not placed, so check success and error_code in the body.
Who has to be available before the call starts?
The member must be online on a TalkChief device and not already on a call. Otherwise the request fails. Identify the member by email or by extension. If you send both, TalkChief uses the email.