API key

What is an API key

API key is an identity of your LiveAgent (like your username and password) which you can use to build your own custom integration solutions. Never give it to anybody you don't trust. If your API key is lost, do not hesitate to generate a new one! Anybody with your API key can fully access your LiveAgent.


How can I get my API key

While logged in as an admin navigate to Configuration> System> API which loads the API v3 section where you find existing API keys or add a new one. To access the API v1 section click the Settings for API v1 link under the API v3 header.

This is how the API v1 section looks where you have settings for your API v1 key.


When adding a new API key in v3 you have an option to define permissions for this key (as you can have more keys you can also give different keys to different people with different permissions).


Can I change the API key?

Yes both API versions have options to generate new keys and invalidate existing ones.

IMPORTANT NOTE: Do not forget that when you generate a new API key for your LiveAgent ALL clients using the old key will stop working immediately!


API v3 use

Your API key has to be set in header of your requests:

curl --location --request GET 'https://your.ladesk.com/api/v3/tickets' \
--header 'apikey: 0865evv883j6auflvlt7zrwgqn32qo74' \
--header 'Content-Type: application/json'

Here's an example of cURL code in PHP:

curl_setopt($curl, CURLOPT_HTTPHEADER, array('Accept: application/json', 'apikey: 123456_YOUR_API_KEY_123456'));

Ready to try LiveAgent?

It's free for the first 14 days! No credit card required.

Get Started
We work well with others...
Magento Joomla Wordpress Mailchimp
Contact us


+1-800-811-6590 (Toll Free in USA & Canada)

+421 2 33 456 826 (European Union & Worldwide)

Quality Unit, LLC 616 Corporate Way, Suite 2-3278 Valley Cottage, NY 10989

Stay in touch
Blog Google+
© 2004-2020 LiveAgent.com, All rights reserved