Overview
Wolfia’s API provides secure, programmatic access to automate workflows and integrate with your existing tools. Whether you’re syncing users from identity providers, building custom integrations, or automating repetitive tasks, our API makes it simple to extend Wolfia’s capabilities to fit your organization’s unique needs.Why use the Wolfia API?
The API is designed for teams that want to:- Automate user management – Sync users from Okta, Azure AD, or other identity providers automatically
- Streamline onboarding – Invite new team members as part of your existing onboarding workflows
- Build custom integrations – Connect Wolfia with internal tools and systems via MCP or custom applications
- Ingest questionnaires from multiple sources – Automatically import questionnaires from JIRA, ServiceNow, and other ticketing systems
- Embed AI-powered Q&A – Add Wolfia’s expert knowledge to your custom products and applications
- Scale operations – Manage large teams without manual effort
Getting started
Prerequisites
Before you can use the API, you’ll need:- An active Wolfia account
- Organization administrator permissions
- A secure place to store API credentials
Creating your first API key
API keys are how you authenticate with Wolfia’s API. Only organization administrators can create and manage them.Navigate to API settings
Go to Settings → API in your Wolfia account.
Create a new key
Click Create API Key and provide a descriptive name that identifies the integration or purpose.Good examples:
- “Okta User Sync”
- “HR Onboarding Bot”
- “Production Integration”
Authentication
All API requests require authentication using your API key. Include it in theX-API-Key header:
Security best practices
Store keys securely
Store keys securely
- Never hardcode API keys in source code
- Use environment variables or secrets management systems (AWS Secrets Manager, Azure Key Vault, HashiCorp Vault)
- Add API keys to your
.gitignorefile
Rotate keys regularly
Rotate keys regularly
- Create new keys periodically (every 6 months recommended)
- Deactivate old keys after rotating
- Update all integrations before deactivating old keys
Use separate keys for different integrations
Use separate keys for different integrations
- Create dedicated keys for each integration or environment
- Label keys clearly (e.g., “Production Okta Sync”, “Staging HR Integration”)
- This limits the impact if a key is compromised
Monitor key usage
Monitor key usage
- Check the “Last Used” timestamp in your API settings regularly
- Deactivate keys that haven’t been used in 30+ days
- Investigate any unexpected usage patterns
Available endpoints
User management
Automate user invitations and manage your organization’s members programmatically.| Endpoint | Method | Description |
|---|---|---|
/v1/organizations/invite | POST | Invite a new user to your organization |
Invite users
See detailed examples and integration patterns for inviting users
Conversation insights
Retrieve and analyze all conversations across your Wolfia workspace.| Endpoint | Method | Description |
|---|---|---|
/v1/insights/conversations | GET | Retrieve paginated conversation history |
Retrieve conversation insights
Build custom analytics dashboards and monitor AI performance
Knowledge base uploads
Upload files to your knowledge base using pre-signed S3 URLs.| Endpoint | Method | Description |
|---|---|---|
/v1/content-source/prepare-upload | POST | Get pre-signed URLs for file uploads |
/v1/content-source/confirm-upload | POST | Confirm uploads and trigger processing |
Upload knowledge base files
Programmatically add documents to your knowledge base
Questionnaires
Upload, list, search, and retrieve security questionnaires and RFPs.| Endpoint | Method | Description |
|---|---|---|
/v1/questionnaire/upload/file | POST | Upload a questionnaire file |
/v1/questionnaire/upload/text | POST | Upload text content for processing |
/v1/questionnaire/list | GET | List all questionnaires with pagination |
/v1/questionnaire/search | GET | Search questionnaires by text or field filters |
/v1/questionnaire/{id}/overview | GET | Get detailed questionnaire status and statistics |
Questionnaires
Upload, list, search, and track questionnaire processing status
Content tags
List tags used to categorize questionnaires and knowledge base content.| Endpoint | Method | Description |
|---|---|---|
/v1/tags/ | GET | List all content tags |
Content tags
Retrieve tag IDs for categorizing questionnaires on upload
Organization management
Manage multi-tenant organizations programmatically.| Endpoint | Method | Description |
|---|---|---|
/v1/organizations/tenant/create | POST | Create a child organization |
/v1/organizations/tenant/list | GET | List available organizations |
/v1/organizations/tenant/switch | POST | Switch between organizations |
Manage organizations
Create, list, and switch between organizations for multi-tenant management
Trust portal analytics
Access trust center engagement metrics, document interactions, and revenue attribution.| Endpoint | Method | Description |
|---|---|---|
/v1/trustportal/analytics | GET | Portal overview analytics |
/v1/trustportal/analytics/documents | GET | Document interaction metrics |
/v1/trustportal/analytics/accounts | GET | Active account metrics |
/v1/trustportal/analytics/revenue | GET | Revenue attribution metrics |
Trust portal analytics
Build reports on trust center engagement and revenue impact
Trust portal updates
Create, manage, and schedule trust center update notifications.| Endpoint | Method | Description |
|---|---|---|
/v1/trustportal/updates | POST | Create a new update |
/v1/trustportal/updates | GET | List all updates |
/v1/trustportal/updates/subscribers | GET | List subscribers |
Trust portal updates
Automate trust center update notifications and subscriber management
Managing your API keys
Viewing all keys
Navigate to Settings → API to see all active and inactive keys for your organization. Each key shows:- Name – The descriptive name you provided
- Created – When the key was created
- Last used – Timestamp of the most recent API call
- Created by – Which admin created the key
- Status – Active or inactive
Deactivating a key
If a key is compromised, no longer needed, or you’re rotating credentials:- Go to Settings → API
- Find the key in the list
- Click Deactivate
- Confirm the action
Deleting a key
Deactivated keys can be permanently deleted:- Find the deactivated key in your list
- Click Delete
- Confirm permanent deletion
Rate limits
Wolfia’s API includes reasonable rate limits to ensure reliability for all users:- Default limit: 1,000 requests per hour per organization
- Burst capacity: 30 requests per minute
Rate limit headers
API responses include headers to help you track your usage:Error handling
All API responses use standard HTTP status codes:| Code | Meaning | Action |
|---|---|---|
| 200 | Success | Request completed successfully |
| 400 | Bad Request | Check your request parameters |
| 401 | Unauthorized | Verify your API key is valid and active |
| 403 | Forbidden | Check that you have permission for this action |
| 404 | Not Found | The requested resource doesn’t exist |
| 409 | Conflict | Resource already exists (e.g., user already invited) |
| 429 | Too Many Requests | You’ve hit the rate limit—slow down and retry |
| 500 | Server Error | Something went wrong on our end—retry with backoff |
Best practices for error handling
- Implement exponential backoff for 5xx errors
- Don’t retry 4xx errors without fixing the request
- Handle 409 gracefully – it usually means the resource already exists
- Log all errors for debugging and monitoring
Getting help
We’re here to support your integration needs:- Documentation questions: Email support@wolfia.com
- Technical consultation: Schedule a call to discuss your integration
- Security concerns: Contact security@wolfia.com
- Feature requests: Let us know what API capabilities you need
What’s next?
Invite users
Automate user invitations with detailed examples
Conversation insights
Retrieve and analyze conversation history
Knowledge base uploads
Upload files to your knowledge base programmatically
Questionnaires
Upload, list, search, and track questionnaires
Content tags
List tags for categorizing questionnaires
Organization management
Create and manage multi-tenant organizations
Trust portal analytics
Access engagement metrics and revenue attribution
Trust portal updates
Schedule and manage trust center notifications

