Authorization header of every request.
Getting Your API Key
1
Log in to your dashboard
Go to app.example.com and sign in with your SemaiSens account credentials.
2
Open API Key settings
Navigate to Settings → API Keys in the left-hand navigation menu.
3
Create a new key
Click New API Key. Select the appropriate scope (see Key Scopes below) and give the key a descriptive name such as
Production Integration or CI Pipeline.4
Copy the key immediately
Your API key is displayed once at creation time. Copy it now and store it somewhere secure — the dashboard will never show the full key again. If you lose it, you must generate a new one.
Using Your API Key
Pass your API key in theAuthorization header as a Bearer token on every request.
Key Scopes
When creating a key, you assign it one of two scopes. Choose the most restrictive scope that satisfies your use case.Rotating Keys
To rotate a key, click Regenerate next to it in Settings → API Keys. The old key is invalidated immediately — requests using the old key will receive a401 Unauthorized response. Update all integrations with the new key before triggering a rotation to avoid downtime.
If you suspect a key has been compromised, delete it immediately from the dashboard rather than rotating it. Deletion prevents any further use of that key.