Skip to main content
POST
JavaScript

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Mobile push credential parameters that need to be sent in the request

type
enum<string>
required

Type of mobile push credential. Should be ios here

Available options:
ios
certificate
string
required

Certificate as received from APNs

Example:

"-----BEGIN CERTIFICATE----- MIIGVDCCBTKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END CERTIFICATE-----"

private_key
string
required

Corresponding private key to the certificate as received from APNs

Example:

"-----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAsNlRJVZn9ZvXcECQm65czs... -----END RSA PRIVATE KEY-----"

alias
string
required

Alias to uniquely identify the credential

Example:

"LucyIosCredential"

Response

Mobile push credential created

Success response with details about a push credential

data
Successful response with details about a push credential · object