{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-sms-campaigns-get-sms-campaign-response-200-schema.json", "title": "SMS Campaigns_getSmsCampaign_Response_200", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/brevo-sms-campaigns-api-openapi.yml#/components/schemas/SMS_Campaigns_getSmsCampaign_Response_200", "type": "object", "properties": { "content": { "type": "string", "description": "Content of the SMS Campaign" }, "createdAt": { "type": "string", "description": "Creation UTC date-time of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)" }, "id": { "type": "integer", "format": "int64", "description": "ID of the SMS Campaign" }, "modifiedAt": { "type": "string", "description": "UTC date-time of last modification of the SMS campaign (YYYY-MM-DDTHH:mm:ss.SSSZ)" }, "name": { "type": "string", "description": "Name of the SMS Campaign" }, "organisationPrefix": { "type": "string", "description": "A recognizable prefix added as the Brand Name before the message content. Empty string if not set." }, "scheduledAt": { "type": "string", "description": "UTC date-time on which SMS campaign is scheduled. Should be in YYYY-MM-DDTHH:mm:ss.SSSZ format. Empty string if not scheduled." }, "sender": { "type": "string", "description": "Sender of the SMS Campaign" }, "sentDate": { "type": "string", "description": "UTC date-time on which the SMS campaign was sent (YYYY-MM-DDTHH:mm:ss.SSSZ). Only available if the campaign status is 'sent'." }, "status": { "$ref": "#/$defs/SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaStatus", "description": "Status of the SMS Campaign" }, "unsubscribeInstruction": { "type": "string", "description": "Instructions to unsubscribe from future communications. Empty string if not set." }, "recipients": { "$ref": "#/$defs/SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipients", "description": "Recipients of the SMS campaign. For a single campaign, lists and exclusion lists are returned as objects with id and name." }, "statistics": { "$ref": "#/$defs/getSmsCampaignStats" }, "tags": { "type": "array", "items": { "type": "string" }, "description": "Tags (labels) associated with the SMS campaign. Only available when retrieving a single campaign." } }, "required": [ "content", "createdAt", "id", "modifiedAt", "name", "sender", "status", "recipients", "statistics" ], "$defs": { "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipients": { "type": "object", "properties": { "exclusionLists": { "type": "array", "items": { "$ref": "#/$defs/SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipientsExclusionListsItems" } }, "lists": { "type": "array", "items": { "$ref": "#/$defs/SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipientsListsItems" } } }, "description": "Recipients of the SMS campaign. For a single campaign, lists and exclusion lists are returned as objects with id and name.", "title": "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipients" }, "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipientsExclusionListsItems": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "ID of the exclusion list" }, "name": { "type": "string", "description": "Name of the exclusion list" } }, "title": "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipientsExclusionListsItems" }, "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipientsListsItems": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "ID of the list" }, "name": { "type": "string", "description": "Name of the list" } }, "title": "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaRecipientsListsItems" }, "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaStatus": { "type": "string", "enum": [ "draft", "sent", "archive", "queued", "suspended", "inProcess" ], "description": "Status of the SMS Campaign", "title": "SmsCampaignsCampaignIdGetResponsesContentApplicationJsonSchemaStatus" }, "getSmsCampaignStats": { "type": "object", "properties": { "answered": { "type": "integer", "format": "int64", "description": "Number of replies to the SMS" }, "delivered": { "type": "integer", "format": "int64", "description": "Number of delivered SMS" }, "hardBounces": { "type": "integer", "format": "int64", "description": "Number of hardbounced SMS" }, "processing": { "type": "integer", "format": "int64", "description": "Number of processing SMS" }, "sent": { "type": "integer", "format": "int64", "description": "Number of sent SMS" }, "softBounces": { "type": "integer", "format": "int64", "description": "Number of softbounced SMS" }, "unsubscriptions": { "type": "integer", "format": "int64", "description": "Number of unsubscription SMS" } }, "required": [ "answered", "delivered", "hardBounces", "processing", "sent", "softBounces", "unsubscriptions" ], "title": "getSmsCampaignStats" } } }