politicalcomms-com · Schema

Conversation

One thread between one of the organization's sending numbers and one contact. Created by a project send (broadcast, survey, or test); never by the API.

CompanyPoliticalMessagingSMSRCSCampaigns

Properties

Name Type Description
conversation_id string
project_id string
from string The organization's sending number (E.164). Every reply goes out from this number.
to string The contact's number (E.164).
status string
opted_out boolean True once the contact replied STOP. Replies to an opted-out thread are refused with `409 CONTACT_OPTED_OUT`.
is_test boolean
contact object
inbound_messages integer
outbound_messages integer
first_message_at stringnull
last_inbound_at stringnull When the contact last texted in. The list endpoint sorts and filters on this.
last_outbound_at stringnull
created_at string
View JSON Schema on GitHub

JSON Schema

politicalcomms-com-conversation-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/politicalcomms-com/json-schema/politicalcomms-com-conversation-schema.json",
  "title": "Conversation",
  "description": "One thread between one of the organization's sending numbers and one contact. Created by a project send (broadcast, survey, or test); never by the API.",
  "x-generated": "2026-10-30",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/politicalcomms-com-openapi.json#/components/schemas/Conversation",
  "type": "object",
  "properties": {
    "conversation_id": {
      "type": "string",
      "format": "uuid"
    },
    "project_id": {
      "type": "string",
      "format": "uuid"
    },
    "from": {
      "type": "string",
      "description": "The organization's sending number (E.164). Every reply goes out from this number."
    },
    "to": {
      "type": "string",
      "description": "The contact's number (E.164)."
    },
    "status": {
      "type": "string",
      "enum": [
        "active",
        "inactive",
        "opted_out"
      ]
    },
    "opted_out": {
      "type": "boolean",
      "description": "True once the contact replied STOP. Replies to an opted-out thread are refused with `409 CONTACT_OPTED_OUT`."
    },
    "is_test": {
      "type": "boolean"
    },
    "contact": {
      "type": "object",
      "properties": {
        "phone_number": {
          "type": "string"
        }
      },
      "required": [
        "phone_number"
      ],
      "additionalProperties": true
    },
    "inbound_messages": {
      "type": "integer"
    },
    "outbound_messages": {
      "type": "integer"
    },
    "first_message_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "last_inbound_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time",
      "description": "When the contact last texted in. The list endpoint sorts and filters on this."
    },
    "last_outbound_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    }
  },
  "required": [
    "conversation_id",
    "project_id",
    "from",
    "to",
    "status",
    "opted_out",
    "is_test",
    "contact",
    "inbound_messages",
    "outbound_messages",
    "created_at"
  ],
  "additionalProperties": true
}

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/politicalcomms-com-conversation"
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.