API Reference
Pushfire provides a comprehensive set of API endpoints that allow you to seamlessly integrate your applications with the Pushfire platform. Through these endpoints, you can efficiently manage your audience by creating, updating, and organizing subscribers, defining segments to target specific groups, and assigning tags to enrich subscriber profiles with additional context or attributes.
This API-first approach ensures that your applications can programmatically interact with Pushfire, enabling automation, personalization, and scalable audience management for notifications, campaigns, and user engagement.
Register Device
Register a new device for push notifications and create an anonymous subscriber.
Endpoint URL
https://api.pushfire.app/functions/v1/register-deviceAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Update Device
Update an existing device's information.
Endpoint URL
https://api.pushfire.app/functions/v1/update-deviceAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Login Subscriber
Login a subscriber and replace the anonymous subscriber associated with a device.
Endpoint URL
https://api.pushfire.app/functions/v1/login-subscriberAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Update Subscriber
Update an existing subscriber's information.
Endpoint URL
https://api.pushfire.app/functions/v1/update-subscriberAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Logout Subscriber
Logout a subscriber and recreate an anonymous subscriber for the device.
Endpoint URL
https://api.pushfire.app/functions/v1/logout-subscriberAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Add Tag to Subscriber
Adds a tag to a subscriber by creating the association between the user and the specified tag. The tag can exist on its own or optionally include an associated value (e.g., "plan": "premium").
Endpoint URL
https://api.pushfire.app/functions/v1/add-subscriber-tagAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Update Tag Value to Subscriber
Update the value of a tag for a subscriber.
Endpoint URL
https://api.pushfire.app/functions/v1/update-subscriber-tagAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Remove Tag to Subscriber
Remove a tag from a subscriber.
Endpoint URL
https://api.pushfire.app/functions/v1/remove-subscriber-tagAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/jsonResponse Examples
Execute Workflow
Create a new workflow execution for immediate or scheduled delivery.
Endpoint URL
https://api.pushfire.app/functions/v1/create-workflow-executionAuthentication
Authorization: Bearer YOUR_PUSHFIRE_PROJECT_API_TOKENInclude your API token in the Authorization header
Request Body
application/json