What is the API?
An API is an interface that enables different software applications to communicate with one another. The absentify API empowers you to:- Retrieve and manage absence data programmatically.
- Automate administrative tasks, such as creating or updating absence requests.
- Connect absentify to your organization’s internal tools or third-party applications.
For technical documentation and a detailed API reference, visit our API Documentation.
Setting up API access
If you signed up with email (rather than Microsoft 365), you must confirm your email address before you can generate an API key.Step 1: Access the API settings
- Navigate to Settings > Integrations.
- Under the API section, select Get API key.
Step 2: Generate and manage your API key
- Select Generate new key. absentify displays a unique key. This key is required for authenticating API requests.
- Important: If you regenerate the API key, the old key will no longer work. Ensure you update all integrations using the old key with the newly generated key.
Best practices for API key management
- Store securely: Keep the API key confidential and store it securely. Avoid sharing it publicly or hardcoding it into applications.
- Update integrations: Whenever you generate a new API key, ensure all connected systems and tools are updated with the new key.
- Monitor usage: Regularly review API activity and usage logs in your connected systems to ensure secure and efficient integration.
Plan and the existing key
If a workspace has used the API successfully and an integration calls the API while the workspace is not on Plus, absentify refuses the call and sends one email to one active administrator. absentify prefers an administrator with billing access. If none of those administrators has an email, it emails the administrator who generated the key. If that person has no email, it emails any other active administrator who has an email. The email subject is Your absentify API key has stopped working. Recipients with billing access see Open billing, which opens Billing. Upgrade to Plus. The existing API key works. You do not have to generate another key.Example use cases for the API
- Automate absence workflows: Automatically update absence records in your HR system or trigger notifications when a new request is created.
- Build custom dashboards: Use the API to fetch data and create tailored dashboards for absence reporting and analysis.
- Third-party integrations: Connect absentify with other tools such as project management systems or communication platforms.
Advanced usage and developer support
To explore the full potential of the absentify API, refer to our Developer Documentation. It includes:- Available endpoints.
- Authentication details.
- Example API requests and responses.
If you encounter any issues or need assistance with API integration, contact our support team or consult the developer resources.