Skip to main content
The absentify REST API supports three authentication methods. Create and regenerate API keys in the absentify Dashboard under Settings > Integrations > API. 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.
Never expose your API key in public repositories, client-side code, or screenshots. If a key leaks, regenerate it immediately in the absentify Dashboard.

API key

Send your key in the x-api-key header on every request:

Bearer token (Microsoft Entra ID)

The API accepts a signed Microsoft Entra ID JWT in Authorization: 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, or api://teams.absentify.com/4dce2abf-3f8e-4281-9f7a-d602fc391886.
  • Valid tenant ID (tid) and object ID (oid).
The Microsoft user must sign in to absentify at least once before using Bearer token auth. Without that linked Microsoft object ID, requests fail with 401 Unauthorized.
bearer_example.sh