If an explicit API key is sent in the header or query, absentify always uses it first. Otherwise, absentify inspects
Authorization: Bearer ...: a JWT is validated as a Microsoft Entra ID token, and any other string is treated as an API key.
API key
Send your key in thex-api-key header on every request:
Bearer token (Microsoft Entra ID)
The API accepts a signed Microsoft Entra ID JWT inAuthorization: Bearer <token>. The absentify Power Automate connector uses this automatically so no API key needs to be stored. Requests run in the context of the linked absentify member.
Token requirements
- Signed by Microsoft Entra ID via the v1 issuer (
https://sts.windows.net/<tenant-id>/) or v2 issuer (https://login.microsoftonline.com/<tenant-id>/v2.0). - Audience (
aud) matching the absentify Power Automate app:4dce2abf-3f8e-4281-9f7a-d602fc391886,api://4dce2abf-3f8e-4281-9f7a-d602fc391886, orapi://teams.absentify.com/4dce2abf-3f8e-4281-9f7a-d602fc391886. - Valid tenant ID (
tid) and object ID (oid).
bearer_example.sh