Twilio · Schema

CreateCredentialRequest

AuthenticationCommunicationsContact CenterEmailIoTMessagingPhoneSMST1VerificationVideoVoiceTwilioTelecommunicationsReal-TimeWhatsApp

Properties

Name Type Description
Type string The type of push-notification service the credential is for. Can be: `fcm`, `gcm`, or `apn`.
FriendlyName string A descriptive string that you create to describe the new resource. It can be up to 64 characters long.
Certificate string [APN only] The URL encoded representation of the certificate. For example, `--BEGIN CERTIFICATE-- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A== --END CERTIFICATE--`.
PrivateKey string [APN only] The URL encoded representation of the private key. For example, `--BEGIN RSA PRIVATE KEY-- MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG... --END RSA PRIVATE KEY--`.
Sandbox boolean [APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production.
ApiKey string [GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential.
Secret string [FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging.
View JSON Schema on GitHub

JSON Schema

twilio-create-credential-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/twilio/main/json-schema/twilio-create-credential-request-schema.json",
  "title": "CreateCredentialRequest",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/twilio-credentials-api-openapi.yml#/components/schemas/CreateCredentialRequest",
  "type": "object",
  "required": [
    "Type"
  ],
  "properties": {
    "Type": {
      "type": "string",
      "$ref": "#/$defs/credential_enum_push_type",
      "description": "The type of push-notification service the credential is for. Can be: `fcm`, `gcm`, or `apn`."
    },
    "FriendlyName": {
      "type": "string",
      "description": "A descriptive string that you create to describe the new resource. It can be up to 64 characters long."
    },
    "Certificate": {
      "type": "string",
      "description": "[APN only] The URL encoded representation of the certificate. For example, \n`--BEGIN CERTIFICATE-- MIIFnTCCBIWgAwIBAgIIAjy9H849+E8wDQYJKoZIhvcNAQEF.....A==\n--END CERTIFICATE--`."
    },
    "PrivateKey": {
      "type": "string",
      "description": "[APN only] The URL encoded representation of the private key. For example,\n`--BEGIN RSA PRIVATE KEY-- MIIEpQIBAAKCAQEAuyf/lNrH9ck8DmNyo3fG...\n--END RSA PRIVATE KEY--`."
    },
    "Sandbox": {
      "type": "boolean",
      "description": "[APN only] Whether to send the credential to sandbox APNs. Can be `true` to send to sandbox APNs or `false` to send to production."
    },
    "ApiKey": {
      "type": "string",
      "description": "[GCM only] The API key for the project that was obtained from the Google Developer console for your GCM Service application credential."
    },
    "Secret": {
      "type": "string",
      "description": "[FCM only] The **Server key** of your project from the Firebase console, found under Settings / Cloud messaging."
    }
  },
  "$defs": {
    "credential_enum_push_type": {
      "type": "string",
      "enum": [
        "apn",
        "gcm",
        "fcm"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/twilio-create-credential-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.