Authentication
How to authenticate your requests
Authenticate requests to the LingoHub API using a generated API key.
Follow our guide to create an API key.
When creating a key, you can:
- Set an optional expiration date.
- Define permissions for the key to control access to your workspace and projects.
Ensure you copy and store the API key in a secure location immediately after creation. For security reasons, the API key is only displayed once and cannot be viewed later.
Pass the API key in the Authorization HTTP header using the Bearer scheme.
curl -H 'Authorization: Bearer lingohub_...' -X GET https://api.lingohub.com/v1/projectsUpdated 3 days ago
