Skip to content

get_push_credentials

Get APNs and FCM push credential metadata and active registration counts.

Keys, service accounts and device tokens are never returned. Listed and callable only while the application’s mobile_distribution capability resolves enabled.

{
"properties": {
"application_id": {
"title": "Application Id",
"type": "string"
}
},
"required": [
"application_id"
],
"title": "get_push_credentialsArguments",
"type": "object"
}
{
"description": "Both platforms' metadata; never a key, a service account or a token.",
"properties": {
"apns": {
"properties": {
"active_registrations": {
"default": 0,
"title": "Active Registrations",
"type": "integer"
},
"bundle_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Bundle Id"
},
"configured": {
"title": "Configured",
"type": "boolean"
},
"environment": {
"anyOf": [
{
"enum": [
"sandbox",
"production"
],
"type": "string"
},
{
"type": "null"
}
],
"title": "Environment"
},
"is_active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Active"
},
"key_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Key Id"
},
"team_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Team Id"
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated At"
}
},
"required": [
"configured"
],
"title": "ApnsPushCredentialStatusResponse",
"type": "object"
},
"fcm": {
"properties": {
"active_registrations": {
"default": 0,
"title": "Active Registrations",
"type": "integer"
},
"client_email": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Client Email"
},
"configured": {
"title": "Configured",
"type": "boolean"
},
"is_active": {
"anyOf": [
{
"type": "boolean"
},
{
"type": "null"
}
],
"title": "Is Active"
},
"project_id": {
"anyOf": [
{
"type": "string"
},
{
"type": "null"
}
],
"title": "Project Id"
},
"updated_at": {
"anyOf": [
{
"format": "date-time",
"type": "string"
},
{
"type": "null"
}
],
"title": "Updated At"
}
},
"required": [
"configured"
],
"title": "FcmPushCredentialStatusResponse",
"type": "object"
}
},
"required": [
"apns",
"fcm"
],
"title": "PushCredentialsStatusResponse",
"type": "object"
}