Telefonie · Schema
Telefonie SMS Message
Represents an SMS or MMS message sent or received through the Telefonie SMS API.
Call RecordingCPaaSMessagingNumber ProvisioningSMSTelecommunicationsTelephonyVoiceVoIP
Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the message |
| status | string | Current delivery status of the message |
| direction | string | Whether the message is inbound or outbound |
| from | string | Sender phone number in E.164 format |
| to | string | Recipient phone number in E.164 format |
| body | string | Text content of the message |
| num_segments | integer | Number of SMS segments used (long messages may span multiple segments) |
| num_media | integer | Number of media files attached (MMS) |
| media_url | array | URLs of media files attached to an MMS message |
| price | string | Cost of sending the message |
| price_unit | string | ISO 4217 currency code |
| date_created | string | ISO 8601 timestamp when the message resource was created |
| date_sent | string | ISO 8601 timestamp when the message was dispatched |
| date_updated | string | ISO 8601 timestamp when the message resource was last updated |
| error_code | integer | Telefonie error code if the message failed |
| error_message | string | Human-readable error description if the message failed |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://developers.telefonie.com/schema/message",
"title": "Telefonie SMS Message",
"description": "Represents an SMS or MMS message sent or received through the Telefonie SMS API.",
"type": "object",
"required": ["id", "status", "direction", "from", "to"],
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the message"
},
"status": {
"type": "string",
"enum": ["queued", "sending", "sent", "delivered", "undelivered", "failed", "receiving", "received"],
"description": "Current delivery status of the message"
},
"direction": {
"type": "string",
"enum": ["inbound", "outbound"],
"description": "Whether the message is inbound or outbound"
},
"from": {
"type": "string",
"description": "Sender phone number in E.164 format"
},
"to": {
"type": "string",
"description": "Recipient phone number in E.164 format"
},
"body": {
"type": "string",
"maxLength": 1600,
"description": "Text content of the message"
},
"num_segments": {
"type": "integer",
"minimum": 1,
"description": "Number of SMS segments used (long messages may span multiple segments)"
},
"num_media": {
"type": "integer",
"minimum": 0,
"description": "Number of media files attached (MMS)"
},
"media_url": {
"type": "array",
"items": {
"type": "string",
"format": "uri"
},
"description": "URLs of media files attached to an MMS message"
},
"price": {
"type": "string",
"description": "Cost of sending the message"
},
"price_unit": {
"type": "string",
"description": "ISO 4217 currency code"
},
"date_created": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when the message resource was created"
},
"date_sent": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when the message was dispatched"
},
"date_updated": {
"type": "string",
"format": "date-time",
"description": "ISO 8601 timestamp when the message resource was last updated"
},
"error_code": {
"type": "integer",
"description": "Telefonie error code if the message failed"
},
"error_message": {
"type": "string",
"description": "Human-readable error description if the message failed"
}
}
}
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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/telefonie-message"
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.