Telnyx · Schema

PhoneNumberCampaign

CommunicationsCPaaSVoiceSMSIoTTelecommunicationsMessagingArtificial IntelligenceMCPVoice AIPhone NumbersInference

Properties

Name Type Description
assignmentStatus string The assignment status of the number.
brandId string Brand ID. Empty if the number is associated to a shared campaign.
campaignId string For shared campaigns, this is the TCR campaign ID, otherwise it is the campaign ID
createdAt string
failureReasons string Extra info about a failure to assign/unassign a number. Relevant only if the assignmentStatus is either FAILED_ASSIGNMENT or FAILED_UNASSIGNMENT
phoneNumber string
tcrBrandId string TCR's alphanumeric ID for the brand.
tcrCampaignId string TCR's alphanumeric ID for the campaign.
telnyxCampaignId string Campaign ID. Empty if the number is associated to a shared campaign.
updatedAt string
View JSON Schema on GitHub

JSON Schema

telnyx-phone-number-campaign-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/telnyx/main/json-schema/telnyx-phone-number-campaign-schema.json",
  "title": "PhoneNumberCampaign",
  "x-generated": "2026-10-08",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/telnyx-phone-number-campaigns-api-openapi.yml#/components/schemas/PhoneNumberCampaign",
  "properties": {
    "assignmentStatus": {
      "description": "The assignment status of the number.",
      "enum": [
        "FAILED_ASSIGNMENT",
        "PENDING_ASSIGNMENT",
        "ASSIGNED",
        "PENDING_UNASSIGNMENT",
        "FAILED_UNASSIGNMENT"
      ],
      "title": "AssignmentStatus",
      "type": "string"
    },
    "brandId": {
      "description": "Brand ID. Empty if the number is associated to a shared campaign.",
      "title": "BrandId",
      "type": "string"
    },
    "campaignId": {
      "description": "For shared campaigns, this is the TCR campaign ID, otherwise it is the campaign ID ",
      "title": "Campaignid",
      "type": "string"
    },
    "createdAt": {
      "title": "Createdat",
      "type": "string"
    },
    "failureReasons": {
      "description": "Extra info about a failure to assign/unassign a number. Relevant only if the assignmentStatus is either FAILED_ASSIGNMENT or FAILED_UNASSIGNMENT",
      "type": "string"
    },
    "phoneNumber": {
      "title": "Phonenumber",
      "type": "string"
    },
    "tcrBrandId": {
      "description": "TCR's alphanumeric ID for the brand.",
      "title": "TcrBrandId",
      "type": "string"
    },
    "tcrCampaignId": {
      "description": "TCR's alphanumeric ID for the campaign.",
      "title": "TcrCampaignid",
      "type": "string"
    },
    "telnyxCampaignId": {
      "description": "Campaign ID. Empty if the number is associated to a shared campaign.",
      "title": "Telnyxcampaignid",
      "type": "string"
    },
    "updatedAt": {
      "title": "Updatedat",
      "type": "string"
    }
  },
  "required": [
    "phoneNumber",
    "campaignId",
    "createdAt",
    "updatedAt"
  ],
  "type": "object"
}

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/telnyx-phone-number-campaign"
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.