Request
- Base URLhttps://notify.twilio.com
- URLhttps://notify.twilio.com/v1/Credentials
- AuthHTTP basic
Request body application/x-www-form-urlencoded
The Credential type. Can be: gcm, fcm, or apn.
A descriptive string that you create to describe the resource. It can be up to 64 characters long.
[APN only] The URL-encoded representation of the certificate. Strip everything outside of the headers, e.g. -----BEGIN CERTIFICATE-----MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEFBQAwgZYxCzAJBgNV.....A==-----END CERTIFICATE-----
[APN only] The URL-encoded representation of the private key. Strip everything outside of the headers, e.g. -----BEGIN RSA PRIVATE KEY-----MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fGgvCI1l9s+cmBY3WIz+cUDqmxiieR\n.-----END RSA PRIVATE KEY-----
[APN only] Whether to send the credential to sandbox APNs. Can be true to send to sandbox APNs or false to send to production.
[GCM only] The Server key of your project from Firebase console under Settings / Cloud messaging.
[FCM only] The Server key of your project from Firebase console under Settings / Cloud messaging.
Response
Created
The unique string that we created to identify the Credential resource.
The SID of the Account that created the Credential resource.
The string that you assigned to describe the resource.
The Credential type. Can be: gcm, fcm, or apn.
[APN only] Whether to send the credential to sandbox APNs. Can be true to send to sandbox APNs or false to send to production.
The date and time in GMT when the resource was created specified in RFC 2822 format.
The date and time in GMT when the resource was last updated specified in RFC 2822 format.
The absolute URL of the Credential resource.
Changes
- info
api tag
NotifyV1Credentialadded
- info