Retrieves push token information for the specified tenantId and astClientId. The actual push token is excluded from the response for security reasons.
| tenantId required | string Examples: vertx Tenant unique id |
| astClientId required | string Examples: 01G9CKX0QGA840G610MXMMF22K Unique id of device (ast client id) |
{- "appName": "clientBackend",
- "pushProvider": "FCM",
- "isValid": true,
- "assignedUsers": [
- "e2eec6ce-c698-4823-af6a-548a491a84df"
]
}Send push notification message to:
| tenantId required | string Examples: vertx Tenant unique id |
| category required | string Enum: "chat" "payment" "tms" The type of category |
required | Recipient (object) or Recipient (object) or Recipient (object) (Recipient) The recipient information, to whom the push notification is to be sent. |
required | object (Payload) The payload of Push notification. |
object (Sender) Sender of push notification | |
| silent | boolean Default: false Indicates whether the push notification is silent or not. |
{- "category": "tms",
- "recipient": {
- "tenantId": "testTenant",
- "userId": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
- "astClientId": "01F6MJ6J1AA8HWB7G6XRJB709E"
}, - "payload": {
- "message": {
- "title": "Hello",
- "body": "Hello",
- "priority": "HIGH"
}
}, - "silent": false
}[- {
- "tenantId": "string",
- "userId": "string",
- "astClientId": "string",
- "topic": "string",
- "notificationId": "01F6MJ6J1AA8HWB7G6XRJB709E",
- "isSuccessful": true,
- "results": [
- {
- "result": "string",
- "astClientId": "01F6MJ6J1AA8HWB7G6XRJB709S"
}
], - "metadata": { }
}
]