About Notification

Hello How can make notification and get the notification to my device ?
I know the APIs but how can this work can you told me ?
and How can this get the notification if the I am not open the app

@hossam For notifications, we recommend using our SDK. You can check the details from this link: Amity SDK Core Concepts - Push Notifications.

I already make every thing using the APIs is there any way to avoid using the sdk

@hossam You need to install FCM on your side. After obtaining the token, please call this API

curl --location 'https://api.sg.amity.co/v1/notification' \
--header 'x-api-key: x-api-key' \
--header 'Content-Type: application/json' \
--data '{
    "deviceId": "deviceId",
    "platform": "android",
    "provider": "fcm",
    "token": "token",
    "userId": "userId"