API Documentation

This is the documentation for the available API endpoints, which are built around the REST architecture. All the API endpoints will return a JSON response with the standard HTTP response codes and need a Bearer Authentication via an API Key.

Authentication

All the API endpoints require an API key sent by the Bearer Authentication method.

curl --request GET \
--url 'https://app.usershero.com/api/{endpoint}' \
--header 'Authorization: Bearer {api_key}' \
All API endpoint results work with the UTC timezone unless specified otherwise.
User
Campagnes
Notifications de campagne
Notification handlers
Custom domains
Mes équipes
Team members
Teams' member
Paiements de compte
Journaux de compte