Skip to main content

Retrieves a mobile push credential

GET 
/mobile_push_credentials/:push_credential_id

Retrieves mobile push credential based on the given push_credential_id

Request

Path Parameters

    push_credential_id uuidrequired

    The unique identifier of a mobile push credential

Responses

200: Successful get mobile push credential response

401: Unauthorized request

404: Resource not found

422: Unable to process request

Request samples


curl -L 'https://api.telnyx.com/v2/mobile_push_credentials/:push_credential_id' \
-H 'Accept: application/json'

Response samples


{
"data": {
"id": "0ccc7b54-4df3-4bcb-a65a-3da1ecc997d7",
"certificate": "-----BEGIN CERTIFICATE----- MIIGVDCCBTKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END CERTIFICATE-----",
"private_key": "-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END RSA PRIVATE KEY-----",
"project_account_json_file": {
"private_key": "BBBB0J56jd8kda:APA91vjb11BCjvxx3Jxja...",
"client_email": "account@customer.org"
},
"alias": "LucyCredential",
"type": "ios",
"record_type": "push_credential",
"created_at": "2021-03-26T17:51:59.588408Z",
"updated_at": "2021-03-26T17:51:59.588408Z"
}
}