Retrieve push device diagnostics
curl --request GET \
--url https://api.sendrealm.com/push/devices/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sendrealm.com/push/devices/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendrealm.com/push/devices/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": 123,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_id": "<string>",
"app_id": "<string>",
"app_name": "<string>",
"platform": "<string>",
"environment": "<string>",
"external_id": "<string>",
"app_version": "<string>",
"sdk_version": "<string>",
"os_version": "<string>",
"device_model": "<string>",
"locale": "<string>",
"region": "<string>",
"permission_status": "<string>",
"subscribed": true,
"registration_token_present": true,
"apns_environment": "<string>",
"last_registration_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z",
"last_provider_error": {
"code": "<string>",
"message": "<string>",
"occurred_at": "2023-11-07T05:31:56Z"
},
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"properties": {},
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}{
"status": 123,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>",
"issues": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>"
}
]
}
}Push Notifications
Retrieve Push Device
Return one device and recent registration, permission, and client events without raw provider tokens.
GET
/
push
/
devices
/
{id}
Retrieve push device diagnostics
curl --request GET \
--url https://api.sendrealm.com/push/devices/{id} \
--header 'Authorization: Bearer <token>'const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.sendrealm.com/push/devices/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.sendrealm.com/push/devices/{id}"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text){
"status": 123,
"data": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"device_id": "<string>",
"app_id": "<string>",
"app_name": "<string>",
"platform": "<string>",
"environment": "<string>",
"external_id": "<string>",
"app_version": "<string>",
"sdk_version": "<string>",
"os_version": "<string>",
"device_model": "<string>",
"locale": "<string>",
"region": "<string>",
"permission_status": "<string>",
"subscribed": true,
"registration_token_present": true,
"apns_environment": "<string>",
"last_registration_at": "2023-11-07T05:31:56Z",
"last_active_at": "2023-11-07T05:31:56Z",
"last_provider_error": {
"code": "<string>",
"message": "<string>",
"occurred_at": "2023-11-07T05:31:56Z"
},
"contact": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email": "jsmith@example.com"
},
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z",
"events": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"type": "<string>",
"properties": {},
"created_at": "2023-11-07T05:31:56Z"
}
]
}
}{
"status": 123,
"error": {
"code": "<string>",
"message": "<string>",
"details": "<string>",
"issues": [
{
"code": "<string>",
"path": "<string>",
"message": "<string>"
}
]
}
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Public push app ID, device installation ID, or UUID resource ID.
⌘I