Query parameters
push_provider_namestringOptional
The push provider name. The possible values are APPLE, APPLE_VOIP, GOOGLE, HUAWEI. Required unless push_provider_id is provided.
push_provider_idintegerOptional
The push provider id. The possible values are: 1 — APPLE, 2 — GOOGLE, 3 — APPLE_VOIP, 5 — HUAWEI. Required unless push_provider_name is provided.
application_idintegerOptional
The application id
application_namestringOptional
The application name that can be used instead of application_id
credential_bundlestringOptional
The bundle of Android/iOS/Huawei application
cert_file_namestringOptional
The parameter is required, when set ‘cert_content’ as POST body. Credentials for APPLE push
cert_passwordstringOptional
The secret password for private key. Credentials for APPLE push
is_dev_modebooleanOptional
Whether to use this certificate in apple's sandbox environment. Credentials for APPLE push
sender_idstringOptional
The sender id, provided by Google. Credentials for GOOGLE push
server_keystringOptional
The server key, provided by Google. Credentials for GOOGLE push
huawei_client_idstringOptional
The client id, provided by Huawei. Credentials for HUAWEI push
huawei_client_secretstringOptional
The client secret, provided by Huawei. Credentials for HUAWEI push
huawei_application_idstringOptional
The application id, provided by Huawei. Credentials for HUAWEI push
Request
This endpoint expects a multipart form with multiple files.
cert_contentfileOptional
Public and private keys in PKCS12 format. Credentials for APPLE push
service_account_filefileOptional
The service account key file, provided by Google. Can be used instead of server_key. Credentials for GOOGLE push
Response
Successful response
push_credential_idinteger