Skip to main content
Version: 1.0

Notification Preferences API

La Notification Preferences API gere les abonnements, templates et ciblage utilisateurs pour vos campagnes multicanales et experiences Open Dev.

  • La Notification Preferences API centralise la configuration des canaux, des templates et des preferences clients afin de personnaliser vos communications Open Dev.
  • Envoyer des notifications : support email, SMS, push ou canaux tiers selon vos besoins Open Dev.
  • Gerer les templates : creer, versionner et reutiliser vos modeles de message.
  • Suivre l'historique : consulter livraisons, statuts et journaux de notification pour vos experiences Open Dev.

Error Codes:

Below is a table listing the possible error codes and their descriptions:

System Errors

|Error Code| |Description|

|ERR_GENERAL_0001| |An internal service error occurred.|

|ERR_GENERAL_0002| |Invalid data format.|

|ERR_GENERAL_0003| |Argument type mismatch.|

|ERR_GENERAL_0004| |The requested resource was not found.|

|ERR_GENERAL_0005| |An unexpected error occurred. Please try again later.|

|ERR_GENERAL_0006| |One or more fields contain invalid data.|

|ERR_GENERAL_0007| |Missing required attribute(s) : %s|

|ERR_GENERAL_0008| |Validation failed for one or more fields.|

|ERR_GENERAL_0009| |User with profile '%s' is not authorized to access this endpoint|

Notification Template Errors

|Error Code| |Description|

|ERR_TEMP_0001| |Template not found.|

|ERR_TEMP_0002| |User with this profile is not authorized to manage notification templates.|

|ERR_TEMP_0003| |A notification template already exists with these parameters.|

Notification Errors

|Error Code| |Description|

|ERR_NOT_0001| |Notification code is invalid|

|ERR_NOT_0002| |Required template variables are missing|

|ERR_NOT_0003| |No template found for this notification type and channels|

|ERR_NOT_0004| |Notification channel cannot be null or empty|

|ERR_NOT_0005| |Target user not found|

|ERR_NOT_0006| |Notification delivery failed|

|ERR_NOT_0007| |Unsupported channel: %s|

|ERR_NOT_0008| |This client is not authorized to send notification details of this transaction|

|ERR_NOT_0009| |The Firebase ID must not be null or empty|

|ERR_NOT_0010| |Failed to publish notification event|

Authentication

| Security Scheme Type: || http |

| HTTP Authorization Scheme: || bearer |

| Bearer format: || JWT |