Pallab
Pallab
Explore posts from servers
NNovu
Created by Pallab on 4/8/2025 in #💬│support
Expo device token in the trigger payload
I changed the design to create separate subscribers for the intended action. We are good for now. Appreciate the response! 🙏
8 replies
NNovu
Created by Pallab on 4/8/2025 in #💬│support
Expo device token in the trigger payload
In the step execution, I get to see this.
{
"_integrationId": "66c5ffdfc3a9a7a51cdacc94",
"providerId": "expo",
"credentials": {
"webhookUrl": "",
"deviceTokens": []
}
}
{
"_integrationId": "66c5ffdfc3a9a7a51cdacc94",
"providerId": "expo",
"credentials": {
"webhookUrl": "",
"deviceTokens": []
}
}
8 replies
NNovu
Created by Pallab on 4/8/2025 in #💬│support
Expo device token in the trigger payload
Here's how the payload is sent.
curl -X POST 'https://dev-novu.monaire.ai/v1/events/trigger' \
-H 'Authorization: ApiKey NOVU_SECRET_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "status-update",
"to": {
"channels": [
{
"credentials": {
"deviceTokens": [
"ExponentPushToken[uFuSFKPqguHM9xr2f99gew]",
"ExponentPushToken[zMHkuZGMMlVxbPAokaLsTm]",
"ExponentPushToken[w-k4tELm_h1UfgXtVXvi_u]"
]
},
"providerId": "expo"
}
],
"subscriberId": "289516895101526569"
},
"payload": {
"field1": "data1",
"field2": "data2",
"field3": "data3"
}
}'
curl -X POST 'https://dev-novu.monaire.ai/v1/events/trigger' \
-H 'Authorization: ApiKey NOVU_SECRET_KEY' \
-H 'Content-Type: application/json' \
-d '{
"name": "status-update",
"to": {
"channels": [
{
"credentials": {
"deviceTokens": [
"ExponentPushToken[uFuSFKPqguHM9xr2f99gew]",
"ExponentPushToken[zMHkuZGMMlVxbPAokaLsTm]",
"ExponentPushToken[w-k4tELm_h1UfgXtVXvi_u]"
]
},
"providerId": "expo"
}
],
"subscriberId": "289516895101526569"
},
"payload": {
"field1": "data1",
"field2": "data2",
"field3": "data3"
}
}'
8 replies