🏛 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.

⬆️ 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.

⬆️ 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.

https://firebase.google.com/docs/cloud-messaging/auth-server#provide_credentials_manually