Skip to main content

Prerequisites

Before you begin calling the Inyett API, make sure you have the following:
  • An Inyett accountCreate your Account if you don’t have one yet.
  • An API Key – Fetch your API Key connected to your Inyett Account.
  • An HTTP client — Such as curl, Postman, or a library like axios for JavaScript.

Steps

1

Make Your First Request

With your API key in hand, you’re ready to make your first request. The example below retrieves basic company information for a swedish company by calling the endpoint /info in the Inyett Company Data scope. 
A successful response will look like this:
The data array contains the returned records, while the meta object provides pagination information about the full result set.
2

Handle the Response

Every successful response from the Inyett API follows the same structure:
  • data — An array of resource objects matching your query. Each object contains the fields relevant to that resource type.
  • meta — An object containing pagination details: total (total number of records), page (the current page), and per_page (the number of records per page).
Use the values in meta to implement pagination in your application — for example, by incrementing the page parameter until you’ve retrieved all records.
Store your API key securely. Never commit it to source control. Use environment variables or a secrets manager like AWS Secrets Manager or HashiCorp Vault to keep your key safe.

Code Examples

The following code group shows how to make the same request in multiple languages: