General Introduction

Authorization

6min

Authorization key

To start using our API, you need an API Key. You can get the API Key from Coresignal's self-service platform. Moreover, your account manager or sales representative can generate the key for you upon your request for the API plan.



Authorization header

All requests must contain an API Key header. Its value is your unique API Key.

Authorization header
Authorization header


cURL authorization

Several examples of authorization in cURL are given according to the required request. Here, requests are made using Base Company API endpoints.

Elasticsearch DSL
Search filter
Collect


General authorization templates

Templates for authentication in various programming languages and programming environment.

Python
Ruby
Node.js
PHP


Use any API-compatible tool to authorize and start querying the API.

FAQ

API Key is stored in the self-service platform home page's Authentication section.

  1. If you've previously used a JWT token, you need to change it to an API Key.
  2. Change your authorization request header's to API Key: -H 'apikey: {API Key}' Here, insert your API Key instead of {API Key}
  3. Make sure that you are using the correct endpoints. API Key is compatible with v2 endpoints. For example: /v2/company_base/search/es_dsl Note: several enrichment endpoints do not have v2, but still work with API Key.