🏛 Architecture

Here is a diagram describing the implementation.
Firebase Architecture
Firebase Architecture

🔚 Endpoints to link and unlink tokens

As described in the diagram above, we will need you to send the firebase token/tokens to these endpoints below when it gets linked/unlinked to a user. You can also publish messages on the RabbitMQ with the specified notification type.
REST API
RabbitMQ Connector

⬆️ POST /v1/integration/user/device/link

RabbitMQ Message Properties
key value
key
value
type
USER_DEVICE_LINK
The type is expected as a property (but not in the payload) of the RabbitMQ Message. Any header will be ignored.

REST API
RabbitMQ Connector

⬆️ POST /v1/integration/user/device/unlink

RabbitMQ Message Properties
key value
key
value
type
USER_DEVICE_UNLINK
The type is expected as a property (but not in the payload) of the RabbitMQ Message. Any header will be ignored.

Credentials

We will need you to provide us with credentials described in below link.