Get API Key
Obtain an API key using Basic Authentication. This key will be used for all other API requests.
For a user belonging to multiple companies, pass company_id to select which company the new key
belongs to. If omitted, the company is chosen deterministically: the user’s first non-collaborator
company, or otherwise their first company.
Users with a Viewer (view-only) seat in the selected company cannot create API keys and get a 403.
If you sign in to Coperniq with Google, you don’t have a password yet. Set one with Forgot password on the Coperniq login page, then use that email and password here. Google sign-in keeps working.
Your company ID can be found in the URL after logging in to the Coperniq UI: https://app.coperniq.io/{company_id}/inbox.
Authentication
Basic authentication of the form Basic <base64(username:password)>.
Query parameters
ID of the company the new API key should belong to. Required only when the authenticated user belongs to more than one company and the default (first non-collaborator company) is not the desired one. The user must belong to the given company.
Your company ID can be found in the URL after logging in to the Coperniq UI: https://app.coperniq.io/{company_id}/inbox.
Response
API key (token) for authenticating future requests
