{ "$schema": "https://json-schema.org/draft/2020-12/schema", "$id": "https://raw.githubusercontent.com/api-evangelist/brevo/main/json-schema/brevo-contacts-get-contact-info-response-200-schema.json", "title": "Contacts_getContactInfo_Response_200", "x-generated": "2026-10-12", "x-method": "derived", "x-generator": "derive-json-schema.py", "x-source": "openapi/brevo-contacts-api-openapi.yml#/components/schemas/Contacts_getContactInfo_Response_200", "type": "object", "properties": { "attributes": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaAttributes", "description": "Set of attributes of the contact" }, "createdAt": { "type": "string", "description": "Creation UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)" }, "email": { "type": "string", "format": "email", "description": "Email address of the contact for which you requested the details" }, "emailBlacklisted": { "type": "boolean", "description": "Blacklist status for email campaigns (true=blacklisted, false=not blacklisted)" }, "id": { "type": "integer", "format": "int64", "description": "ID of the contact for which you requested the details" }, "listIds": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "listUnsubscribed": { "type": "array", "items": { "type": "integer", "format": "int64" } }, "modifiedAt": { "type": "string", "description": "Last modification UTC date-time of the contact (YYYY-MM-DDTHH:mm:ss.SSSZ)" }, "smsBlacklisted": { "type": "boolean", "description": "Blacklist status for SMS campaigns (true=blacklisted, false=not blacklisted)" }, "whatsappBlacklisted": { "type": "boolean", "description": "Blacklist status for WhatsApp campaigns (true=blacklisted, false=not blacklisted)" }, "consentGroups": { "type": "array", "items": { "$ref": "#/$defs/ConsentGroupItem" }, "description": "Consent groups the contact belongs to, with their subscription status. Only present when the Consent Groups feature is enabled for your account." }, "statistics": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatistics", "description": "Campaign statistics of the contact" } }, "required": [ "attributes", "createdAt", "emailBlacklisted", "id", "listIds", "modifiedAt", "smsBlacklisted", "whatsappBlacklisted", "statistics" ], "$defs": { "ConsentGroupItem": { "type": "object", "properties": { "id": { "type": "integer", "format": "int64", "description": "ID of the consent group" }, "status": { "$ref": "#/$defs/ConsentGroupItemStatus", "description": "The contact's subscription status within this consent group" } }, "required": [ "id", "status" ], "description": "A contact's membership status in a single consent group.", "title": "ConsentGroupItem" }, "ConsentGroupItemStatus": { "type": "string", "enum": [ "subscribed", "unsubscribed" ], "description": "The contact's subscription status within this consent group", "title": "ConsentGroupItemStatus" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaAttributes": { "type": "object", "properties": {}, "description": "Set of attributes of the contact", "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaAttributes" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatistics": { "type": "object", "properties": { "clicked": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsClickedItems" }, "description": "Listing of the clicks generated by the contact" }, "complaints": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsComplaintsItems" }, "description": "Listing of the complaints generated by the contact" }, "delivered": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsDeliveredItems" }, "description": "Listing of the delivered campaign for the contact" }, "hardBounces": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsHardBouncesItems" }, "description": "Listing of the hard bounces generated by the contact" }, "messagesSent": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsMessagesSentItems" }, "description": "Listing of the sent campaign for the contact" }, "opened": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsOpenedItems" }, "description": "Listing of the openings generated by the contact" }, "softBounces": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsSoftBouncesItems" }, "description": "Listing of the soft bounces generated by the contact" }, "transacAttributes": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsTransacAttributesItems" }, "description": "Listing of the transactional attributes for the contact" }, "unsubscriptions": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptions", "description": "Listing of the unsubscription for the contact" } }, "description": "Campaign statistics of the contact", "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatistics" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsClickedItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "links": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsClickedItemsLinksItems" }, "description": "Listing of the clicked links for the campaign" } }, "required": [ "campaignId", "links" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsClickedItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsClickedItemsLinksItems": { "type": "object", "properties": { "count": { "type": "integer", "format": "int64", "description": "Number of clicks on this link for the campaign" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" }, "ip": { "type": "string", "description": "IP from which the user has clicked on the link" }, "url": { "type": "string", "description": "URL of the clicked link" } }, "required": [ "count", "eventTime", "ip", "url" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsClickedItemsLinksItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsComplaintsItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" } }, "required": [ "campaignId", "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsComplaintsItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsDeliveredItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" } }, "required": [ "campaignId", "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsDeliveredItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsHardBouncesItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" } }, "required": [ "campaignId", "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsHardBouncesItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsMessagesSentItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" } }, "required": [ "campaignId", "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsMessagesSentItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsOpenedItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "count": { "type": "integer", "format": "int64", "description": "Number of openings for the campaign" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" }, "ip": { "type": "string", "description": "IP from which the user has opened the email" } }, "required": [ "campaignId", "count", "eventTime", "ip" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsOpenedItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsSoftBouncesItems": { "type": "object", "properties": { "campaignId": { "type": "integer", "format": "int64", "description": "ID of the campaign which generated the event" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" } }, "required": [ "campaignId", "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsSoftBouncesItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsTransacAttributesItems": { "type": "object", "properties": {}, "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsTransacAttributesItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptions": { "type": "object", "properties": { "adminUnsubscription": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptionsAdminUnsubscriptionItems" }, "description": "Contact has been unsubscribed from the administrator" }, "userUnsubscription": { "type": "array", "items": { "$ref": "#/$defs/ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptionsUserUnsubscriptionItems" }, "description": "Contact unsubscribe via unsubscription link in a campaign" } }, "required": [ "adminUnsubscription", "userUnsubscription" ], "description": "Listing of the unsubscription for the contact", "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptions" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptionsAdminUnsubscriptionItems": { "type": "object", "properties": { "eventTime": { "type": "string", "description": "UTC date-time of the event" }, "ip": { "type": "string", "description": "IP from which the user has been unsubscribed" } }, "required": [ "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptionsAdminUnsubscriptionItems" }, "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptionsUserUnsubscriptionItems": { "type": "object", "properties": { "campaignId": { "type": [ "integer", "null" ], "format": "int64", "description": "ID of the campaign which generated the event" }, "eventTime": { "type": "string", "description": "UTC date-time of the event" }, "ip": { "type": "string", "description": "IP from which the user has unsubscribed" } }, "required": [ "campaignId", "eventTime" ], "title": "ContactsIdentifierGetResponsesContentApplicationJsonSchemaStatisticsUnsubscriptionsUserUnsubscriptionItems" } } }