POST /v1/Credentials

Add a new push notification credential to your account

Servers

Request headers

Name Type Required Description
Content-Type String Yes The media type of the request body.

Default value: "application/x-www-form-urlencoded"

Request body fields

Name Type Required Description
Certificate String No

[APN only] The URL encoded representation of the certificate. For example, -----BEGIN CERTIFICATE----- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A== -----END CERTIFICATE-----.

Sandbox Boolean No

[APN only] Whether to send the credential to sandbox APNs. Can be true to send to sandbox APNs or false to send to production.

Secret String No

[FCM only] The Server key of your project from the Firebase console, found under Settings / Cloud messaging.

Type String Yes

Possible values:

  • "apn"
  • "fcm"
  • "gcm"
FriendlyName String No

A descriptive string that you create to describe the new resource. It can be up to 64 characters long.

ApiKey String No

[GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential.

PrivateKey String No

[APN only] The URL encoded representation of the private key. For example, -----BEGIN RSA PRIVATE KEY----- MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG... -----END RSA PRIVATE KEY-----.

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. Search for the API you want to integrate with and click on the name.
    • This loads the API reference documentation and prepares the Http request settings.
  3. Click Test request to test run your request to the API and see the API's response.