Handling Responses

A successful registration will return a 200 or 201 HTTP status code:

{ "message": "Successfully subscribed.", "subscriptionId": "8b9cad0e-1f20-43ce-a4db-912808c32493" }

Troubleshooting common errors:

  • 404 Not Found: The provided X-Channel-ID does not exist. Double-check your UUID.
  • 400 Bad Request: Check the response body for details. Usually means provider_token or platform is missing or invalid.