How to Test Your SalesQL API Key
Once you’ve generated your API key from your SalesQL Dashboard, you can test that everything is working by making a simple call to our Enrichment API.
To help you get started, we’ve prepared a test you can run using either your command-line terminal (curl) or Postman.
✅ Note: This test call uses a fixed LinkedIn URL (belonging to a SalesQL team member) and does not consume any credits. It’s safe to use for testing your API key.
Alternative 1: Test the API Using cURL (Windows or macOS)
- Open your terminal (Command Prompt on Windows, Terminal on macOS).
- Paste the following command, replacing YOUR_API_KEY_HERE with your actual API key:
curl --request GET --url 'https://api-public.salesql.com/v1/persons/enrich/?linkedin_url=https%3A%2F%2Fwww.linkedin.com%2Fin%2Fariel-camino' --header 'Authorization: Bearer qWlnHbGtq0HqmTpFE55qbB6WJyCMy0sW' --header 'accept: application/json'
- Press Enter. If your API key is valid, you’ll receive a JSON response with enriched profile data for that LinkedIn URL.
Alternative 2: Test the API Using Postman
- Open Postman and create a new request.
- Set the method to GET and use the following URL:
https://api-public.salesql.com/v1/persons/enrich
- Go to the Headers tab and add:
Key | Value |
---|---|
Authorization | Bearer YOUR_API_KEY_HERE |
Content-Type | application/json |
-
Go to the Body tab and select raw + JSON as the format. Paste the following JSON:
{ "linkedin_url": "https://www.linkedin.com/in/ariel-camino/" }
-
Click Send.
You should receive a 200 OK response with profile data in JSON format, confirming your API key is valid and ready to use.
Updated 11 days ago