Documentation
API Guide
Authentication
Every API request should include two headers for proper authentication:
- x-phenofic-client-id, used to identify the account
- x-phenofic-access-token, which are API keys that can be generated with different scopes
Endpoints
The base path for the following routes is https://api.phenofic.com/.
GET /templates
Get a list of notification templates.
POST /templates
Create a new notification template.
GET /templates/{templateId}
Get a single notification template.
PUT /templates/{templateId}
Update a notification template.
DELETE /templates/{templateId}
Delete a notification template.
GET users/{userId}/notifications
Get a list of a particular user's notifications.
POST users/{userId}/notifications
Create a new notification for a user.