Quickstart
This guide will get you all set up and ready to use the K-LINK API. We'll cover how to get started using one of our API clients and how to make your first API request. We'll also look at where to go next to find all the information you need to take full advantage of our powerful REST API.
Before you can make requests to the K-LINK API, you will need to grab your API token from your dashboard. You find it under Settings » API Tokens — see Authentication.
Choose your client
Before making your first API request, you need to pick which API client you will use. In addition to good ol' cURL HTTP requests, you can call the API from any language with an HTTP client. In the following example, you can see how to check that cURL is installed.
cURL
# cURL is most likely already installed on your machine
curl --version
Making your first API request
After picking your preferred client, you are ready to make your first call to the K-LINK API. Below, you can see how to send a GET request to the Contacts endpoint to get a list of your contacts. In the examples, results are limited to ten contacts, the default page length.
curl -G https://apigw.klinkcx.com/api/v1/contacts \
-H "Authorization: Bearer {token}" \
-d pageSize=10
What's next?
Great, you're now set up with an API client and have made your first request to the API. Here are a few links that might be handy as you venture further into the K-LINK API: