Chimes are the SMS and email messages your business sends through Inttegro: receipts, delivery updates, reminders, and other customer notifications. Send one message now, schedule it for later, or broadcast it to an audience, then use its delivery status when a customer needs help. For one-time passwords, use the OTP API instead.
The chime object
A Chime is one notification for one recipient. It records the message, recipient, sender, and delivery status.
Properties
Chimev13.1.0Go SDK responseChimev14.0.0Java SDK responseChimev11.1.0PHP SDK responseChimev15.0.0Python SDK responseChimev15.0.0Ruby SDK responseChimev13.0.0TypeScript SDK responseChimev15.0.0- #
CreatedAtcreated_atCreatedAtcreatedAtcreatedAtcreated_atcreated_atcreatedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetimeTimeDaterequiredWhen this Chime was created for delivery.
- #
CustomerIdcustomer_idCustomerIDcustomerIdcustomerIdcustomer_idcustomer_idcustomerIdstring?stringstringString?stringstr | NoneT.nilable(String)stringSaved customer used to resolve the recipient when the Chime was sent from a customer record. Omitted for inline recipients.
#
CustomDatacustom_dataCustomDatacustomDatacustomDatacustom_datacustom_datacustomDataCustomData?object*DataCustomData?CustomDataCustomData | NoneT.nilable(CustomData)CustomDataClick or tap to expandYour own key-value string pairs for custom data and tracking. Store user IDs, session identifiers, campaign tags, or any context you need for reconciliation and analytics.
#
EmailemailEmailemailemailemailemailemailChimeEmailMessage?objectmap[string]anyChimeEmailMessage?Chime\EmailMessageChimeEmailMessage | NoneT.nilable(Chime::EmailMessage)ChimeEmailMessageEmail content and safety scan result. Present when the Chime is sent by email.Click or tap to expand- #
FromfromFromfromfromfromfromfromMessageMailbox?objectmap[string]anyMessageTemplateMailboxarray<string, mixed>dict[str, Any]T.nilable(Chime::EmailMailbox)ChimeEmailAddressView from attributesClick or tap to expand
- #
HeadersheadersHeadersheadersheadersheadersheadersheadersMessageHeaders?objectmap[string]anyMessageHeaders?arraydict[str, str] | NoneT.nilable(T::Hash[String, String])MessageHeadersView headers detailsClick or tap to expand
Additional email headers after validation. View reply_to attributesClick or tap to expand
Mailbox that receives replies.View safety attributesClick or tap to expand
Result of the email content safety scan.- #
ContentHashcontent_hashContentHashcontentHashcontentHashcontent_hashcontent_hashcontentHashstring?stringstringString?stringstr | NoneT.nilable(String)stringHash of the content that was scanned. View links attributesClick or tap to expand
Links found while scanning the message.- #
StatusstatusStatusstatusstatusstatusstatusstatusstring?enumstring enumStringstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT.nilable(Shared::ContentSafetyStatus)stringInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
NormalizedTextnormalized_textNormalizedTextnormalizedTextnormalizedTextnormalized_textnormalized_textnormalizedTextstring?stringstringString?stringstr | NoneT.nilable(String)stringNormalized plain-text body used by the scan. - #
QuarantineNotesquarantine_notesQuarantineNotesquarantineNotesquarantineNotesquarantine_notesquarantine_notesquarantineNotesstring?string|null*stringString?stringstr | NoneT.nilable(String)stringAdditional context when content is quarantined. - #
ReasonCodesreason_codesReasonCodesreasonCodesreasonCodesreason_codesreason_codesreasonCodesList<string>?array[]anyList<String>?arraylist[str] | NoneT.nilable(T::Array[String])string[]Machine-readable reasons for a non-allowed result. - #
SanitizedHtmlsanitized_htmlSanitizedHtmlsanitizedHtmlsanitizedHtmlsanitized_htmlsanitized_htmlsanitizedHtmlstring?string|null*stringString?stringstr | NoneT.nilable(String)stringSanitized HTML used for delivery, when available. - #
StatusstatusStatusstatusstatusstatusstatusstatusstring?enumstring enumContentSafetyStatus?stringLiteral['allowed', 'rejected', 'quarantined'] | NoneT.nilable(Shared::ContentSafetyStatus)ContentSafetyStatusInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
SchemaschemaSchemaschemaschemaschemaschemaschemaJsonData?objectmap[string]anyJsonData?Chime\EmailSchemaMarkupChimeEmailSchemaMarkup | NoneT.nilable(Chime::EmailSchemaMarkup)JSONDataView schema attributesClick or tap to expand
Schema.org markup generated for supported messages.View json_ld detailsClick or tap to expand
Schema.org JSON-LD inserted into the HTML email.- #
KindkindKindkindkindkindkindkindenumenumstring enumenum?stringLiteral['gmail_view_action', 'schema_org_order', 'schema_org_invoice'] | NoneT.nilable(Chime::EmailSchemaKind)string unionInttegro.ChimeEmailSchemaKind.GmailViewAction"gmail_view_action"chime.EmailSchemaKindGmailViewActionChimeEmailSchemaKind.GMAIL_VIEW_ACTION\Inttegro\Chime\EmailSchemaKind::GmailViewActioninttegro.chime.EmailSchemaKind.GMAIL_VIEW_ACTIONInttegro::Chime::EmailSchemaKind::GMAIL_VIEW_ACTIONInttegro.ChimeEmailSchemaKinds.GmailViewAction,Inttegro.ChimeEmailSchemaKind.SchemaOrgInvoice"schema_org_invoice"chime.EmailSchemaKindSchemaOrgInvoiceChimeEmailSchemaKind.SCHEMA_ORG_INVOICE\Inttegro\Chime\EmailSchemaKind::SchemaOrgInvoiceinttegro.chime.EmailSchemaKind.SCHEMA_ORG_INVOICEInttegro::Chime::EmailSchemaKind::SCHEMA_ORG_INVOICEInttegro.ChimeEmailSchemaKinds.SchemaOrgInvoice, orInttegro.ChimeEmailSchemaKind.SchemaOrgOrder"schema_org_order"chime.EmailSchemaKindSchemaOrgOrderChimeEmailSchemaKind.SCHEMA_ORG_ORDER\Inttegro\Chime\EmailSchemaKind::SchemaOrgOrderinttegro.chime.EmailSchemaKind.SCHEMA_ORG_ORDERInttegro::Chime::EmailSchemaKind::SCHEMA_ORG_ORDERInttegro.ChimeEmailSchemaKinds.SchemaOrgOrder.
- #
FullMessagefull_messageFullMessagefullMessagefullMessagefull_messagefull_messagefullMessagestring?stringstringStringstringstrStringstringrequired - #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKeyidempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringString?stringstr | NoneT.nilable(String)stringRequest key associated with the Chime.
#
RecipientrecipientRecipientrecipientrecipientrecipientrecipientrecipientChimeRecipient?object*RecipientChimeRecipientChime\RecipientChimeRecipientChime::RecipientDetailChimeRecipientrequiredRecipient contact information.Click or tap to expandView email attributesClick or tap to expand
View phone attributesClick or tap to expand
- #
TypetypeTypetypetypetypetypetypestring?enumRecipientTypeChimeRecipientTypestringLiteral['phone', 'email']Chime::RecipientType'phone' | 'email'requiredContact type:Inttegro.ChimeRecipientType.Phone"phone"chime.RecipientTypePhoneChimeRecipientType.PHONE\Inttegro\Chime\RecipientType::Phoneinttegro.chime.RecipientType.PHONEInttegro::Chime::RecipientType::PHONEInttegro.ChimeRecipientTypes.PhoneorInttegro.ChimeRecipientType.Email"email"chime.RecipientTypeEmailChimeRecipientType.EMAIL\Inttegro\Chime\RecipientType::Emailinttegro.chime.RecipientType.EMAILInttegro::Chime::RecipientType::EMAILInttegro.ChimeRecipientTypes.Email.
- #
SenderIdsender_idSenderIDsenderIdsenderIdsender_idsender_idsenderIdstring?stringstringStringstringstrStringstringrequiredSender identifier used for SMS. Email senders are returned in
Email.Fromchime.email.fromEmail.Fromemail.fromemail.fromemail.fromemail.fromemail.from. #
TransmissiontransmissionTransmissiontransmissiontransmissiontransmissiontransmissiontransmissionChimeTransmission?object*TransmissionChimeTransmission?Chime\TransmissionChimeTransmission | NoneT.nilable(Chime::Transmission)ChimeTransmission | nullTransmission details and delivery status. Omitted until a transmission exists.Click or tap to expand- #
CreatedAtcreated_atCreatedAtcreatedAtcreatedAtcreated_atcreated_atcreatedAtDateTimeOffsettimestampTimeOffsetDateTimeDateTimeImmutabledatetimeTimeDaterequiredWhen this transmission was initiated. - #
DeliveredAtdelivered_atDeliveredAtdeliveredAtdeliveredAtdelivered_atdelivered_atdeliveredAtDateTimeOffset?timestamp*TimeOffsetDateTime?DateTimeImmutabledatetime | NoneT.nilable(Time)Date | nullWhen the message was delivered to the recipient. Omitted until delivery is confirmed. - #
InitializedAtinitialized_atInitializedAtinitializedAtinitializedAtinitialized_atinitialized_atinitializedAtDateTimeOffsettimestampTimeOffsetDateTimeDateTimeImmutabledatetimeTimeDaterequiredWhen this transmission was initialized. - #
MechanismmechanismMechanismmechanismmechanismmechanismmechanismmechanismenumenumstringChimeTransportstringLiteral['sms', 'email']Chime::TransportChimeTransportrequiredTransmission mechanism:Inttegro.ChimeTransport.Sms"sms"chime.TransportSMSChimeTransport.SMS\Inttegro\Chime\Transport::Smsinttegro.chime.Transport.SMSInttegro::Chime::Transport::SMSInttegro.ChimeTransports.SmsorInttegro.ChimeTransport.Email"email"chime.TransportEmailChimeTransport.EMAIL\Inttegro\Chime\Transport::Emailinttegro.chime.Transport.EMAILInttegro::Chime::Transport::EMAILInttegro.ChimeTransports.Email. - #
SentViasent_viaSentViasentViasentViasent_viasent_viasentViastring?enumstringChimeTransport?stringLiteral['sms', 'email'] | NoneT.nilable(Chime::Transport)ChimeTransport | nullDelivery transport used—Inttegro.ChimeTransport.Sms"sms"chime.TransportSMSChimeTransport.SMS\Inttegro\Chime\Transport::Smsinttegro.chime.Transport.SMSInttegro::Chime::Transport::SMSInttegro.ChimeTransports.SmsorInttegro.ChimeTransport.Email"email"chime.TransportEmailChimeTransport.EMAIL\Inttegro\Chime\Transport::Emailinttegro.chime.Transport.EMAILInttegro::Chime::Transport::EMAILInttegro.ChimeTransports.Email. - #
StatusstatusStatusstatusstatusstatusstatusstatusstring?stringstringStringstringstrStringstringrequiredCurrent transmission status—"initialized""initialized""initialized""initialized"'initialized''initialized''initialized'"initialized","sent""sent""sent""sent"'sent''sent''sent'"sent","delivered""delivered""delivered""delivered"'delivered''delivered''delivered'"delivered", or"failed""failed""failed""failed"'failed''failed''failed'"failed". - #
SuppressedAtsuppressed_atSuppressedAtsuppressedAtsuppressedAtsuppressed_atsuppressed_atsuppressedAtDateTimeOffsettimestamp*TimeOffsetDateTime?DateTimeImmutabledatetime | NoneT.nilable(Time)Date | nullWhen delivery to the email recipient was suppressed. Omitted unless suppressed.
Send chime POST /chimes/send
Send one notification immediately. You can address it directly with a phone number or email address, or point to a saved customer and let Inttegro use that customer’s phone number or email address.
Rules
- Send either SMS or email in one request. SMS uses
FullMessagefull_messageFullMessagefullMessagefull_messagefull_messagefull_messagefullMessageor an SMSMessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate; email usesEmailemailEmailemailemailemailemailemailor an emailMessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate. - Address a saved customer with
Recipient.CustomerIdrecipient.customer_idRecipient.CustomerIDrecipient.customerIdrecipient.customer_idrecipient.customer_idrecipient.customer_idrecipient.customerIdandRecipient.Transportrecipient.transportRecipient.Transportrecipient.transportrecipient.transportrecipient.transportrecipient.transportrecipient.transport, or provide an inline phone number or email address. Do not combine the two recipient shapes. - Use a deliverable email recipient. Reserved example and test domains, and domains blocked by Inttegro, are rejected before delivery.
- Inline email content requires
Email.Subjectemail.subjectEmail.Subjectemail.subjectemail.subjectemail.subjectemail.subjectemail.subject,Email.Textemail.textEmail.Textemail.textemail.textemail.textemail.textemail.text, andEmail.From.Addressemail.from.addressEmail.From.Addressemail.from.addressemail.from.addressemail.from.addressemail.from.addressemail.from.address. HTML and custom headers are checked before delivery. - A stored template must be published for the same channel as the recipient.
Required attributes
SendParamsv14.0.0Java SDK requestSendChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestSendRequestv15.0.0Ruby SDK requestChime::SendRequestv13.0.0TypeScript SDK requestSendChimeRequestv15.0.0#
RecipientrecipientRecipientrecipient(…)recipientrecipientrecipientrecipientDictionary<string, object?>objectRecipientChimeRecipientarray<string, mixed>InlineRecipientInputVariant1 | InlineRecipientInputVariant2 | SavedCustomerRecipientInputT.any(Chime::PhoneRecipient, Chime::EmailRecipient, Chime::SavedCustomerRecipient)ChimeRecipientrequiredWhere to send the message.Click or tap to expand- #
CustomerIdcustomer_idCustomerIDcustomerIdcustomerIdcustomer_idcustomer_idcustomerIdstringstringstringStringstringstrStringstringrequiredRequired for saved-customer recipients. Pair this withRecipient.Transportrecipient.transportRecipient.Transportrecipient.transportrecipient.transportrecipient.transportrecipient.transportrecipient.transport. - #
EmailemailEmailemail(…)emailemailemailemailDictionary<string, object?>object*struct { … }Emailarray<string, mixed>InlineRecipientInputVariant2EmailChime::EmailRecipientEmailChimeRecipientEmailrequiredView email attributesClick or tap to expand
Required whenRecipient.Typerecipient.typeRecipient.Typerecipient.typerecipient.typerecipient.typerecipient.typerecipient.typeisInttegro.ChimeRecipientType.Email"email"chime.RecipientTypeEmailChimeRecipientType.EMAIL\Inttegro\Chime\RecipientType::Emailinttegro.chime.RecipientType.EMAILInttegro::Chime::RecipientType::EMAILInttegro.ChimeRecipientTypes.Email.- #
AddressaddressAddressaddress(…)addressaddressaddressaddressstringstringstringStringstringstrStringstringrequiredEmail address to notify.
- #
PhonephonePhonephone(…)phonephonephonephoneDictionary<string, object?>object*struct { … }Phonearray<string, mixed>InlineRecipientInputVariant1PhoneChime::PhoneRecipientPhoneChimeRecipientPhonerequiredView phone attributesClick or tap to expand
Required whenRecipient.Typerecipient.typeRecipient.Typerecipient.typerecipient.typerecipient.typerecipient.typerecipient.typeisInttegro.ChimeRecipientType.Phone"phone"chime.RecipientTypePhoneChimeRecipientType.PHONE\Inttegro\Chime\RecipientType::Phoneinttegro.chime.RecipientType.PHONEInttegro::Chime::RecipientType::PHONEInttegro.ChimeRecipientTypes.Phone. - #
TransporttransportTransporttransporttransporttransporttransporttransportenumenumstring enumenumstring enumLiteral['sms', 'email', ChimeTransport.SMS, ChimeTransport.EMAIL]Chime::TransportChimeRecipientTransportrequiredRequired for saved-customer recipients. UseInttegro.ChimeTransport.Sms"sms"chime.TransportSMSChimeTransport.SMS\Inttegro\Chime\Transport::Smsinttegro.chime.Transport.SMSInttegro::Chime::Transport::SMSInttegro.ChimeTransports.Smsto send to the customer's phone number orInttegro.ChimeTransport.Email"email"chime.TransportEmailChimeTransport.EMAIL\Inttegro\Chime\Transport::Emailinttegro.chime.Transport.EMAILInttegro::Chime::Transport::EMAILInttegro.ChimeTransports.Emailto send to the customer's email address. - #
TypetypeTypetype(…)typetypetypetypeenumenumRecipientTypeChimeRecipientTypestring enumLiteral['phone', ChimeRecipientType.PHONE]Chime::PhoneRecipientType'phone' | 'email'requiredRequired for inline recipients. UseInttegro.ChimeRecipientType.Phone"phone"chime.RecipientTypePhoneChimeRecipientType.PHONE\Inttegro\Chime\RecipientType::Phoneinttegro.chime.RecipientType.PHONEInttegro::Chime::RecipientType::PHONEInttegro.ChimeRecipientTypes.PhoneorInttegro.ChimeRecipientType.Email"email"chime.RecipientTypeEmailChimeRecipientType.EMAIL\Inttegro\Chime\RecipientType::Emailinttegro.chime.RecipientType.EMAILInttegro::Chime::RecipientType::EMAILInttegro.ChimeRecipientTypes.Email.
Optional attributes
SendParamsv14.0.0Java SDK requestSendChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestSendRequestv15.0.0Ruby SDK requestChime::SendRequestv13.0.0TypeScript SDK requestSendChimeRequestv15.0.0#
CustomDatacustom_dataCustomDatacustomData(…)customDatacustom_datacustom_datacustomDataDictionary<string, object?>object*DataCustomDataarray<string, mixed>CustomDataT.nilable(CustomData)CustomDataClick or tap to expandYour own key-value string pairs for tracking and reconciliation.
- #
FullMessagefull_messageFullMessagefullMessage(…)fullMessagefull_messagefull_messagefullMessagestringstringstringStringstringstrT.nilable(String)stringComplete SMS message content to send. Use this only for phone/SMS recipients when you are not using
MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate. #
MessageTemplatemessage_templateMessageTemplatemessageTemplatemessageTemplatemessage_templatemessage_templatemessageTemplateDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ReferenceInputT.nilable(MessageTemplate::Reference)MessageTemplateReferenceStored template reference. Use this instead ofFullMessagefull_messageFullMessagefullMessagefullMessagefull_messagefull_messagefullMessagefor SMS recipients, or instead ofEmailemailEmailemailemailemailemailemailfor email recipients.Click or tap to expand- #
TemplateIdtemplate_idTemplateIDtemplateIdtemplateIdtemplate_idtemplate_idtemplateIdstringstringstringStringstringstrStringstringrequiredID of a published stored template. The template channel must match the resolved recipient transport. - #
VariablesvariablesVariablesvariablesvariablesvariablesvariablesvariablesDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>MessageTemplateVariablesInputT.nilable(MessageTemplate::Variables)JSONDataView variables detailsClick or tap to expand
Values for the template variables. Required variables must be present and valid for their declared types.
- #
PurposepurposePurposepurpose(…)purposepurposepurposepurposestringstringstringStringstringstrT.nilable(String)stringOptional category for this notification, such as
"receipt""receipt""receipt""receipt"'receipt''receipt''receipt'"receipt","notification""notification""notification""notification"'notification''notification''notification'"notification","marketing""marketing""marketing""marketing"'marketing''marketing''marketing'"marketing", or"reminder""reminder""reminder""reminder"'reminder''reminder''reminder'"reminder". #
RequestMetarequest_metaRequestMetarequestMeta(…)requestMetarequest_metarequest_metarequestMetaDictionary<string, object?>object*MetaRequestMetaarray<string, mixed>SendRequestRequestMetaT.nilable(Chime::SendRequestRequestMeta)MetaRequest-specific controls that do not change the notification.Click or tap to expand- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKey(…)idempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstrT.nilable(String)stringOptional request key.
- #
SenderIdsender_idSenderIDsenderIdsenderIdsender_idsender_idsenderIdstringstringstringStringstringstrT.nilable(String)stringSMS sender identifier. If omitted, Inttegro uses your default sender. For email, configure the sender with
Email.Fromemail.fromEmail.Fromemail.fromemail.fromemail.fromemail.fromemail.from.
Email attributes
SendParamsv14.0.0Java SDK requestSendChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestSendRequestv15.0.0Ruby SDK requestChime::SendRequestv13.0.0TypeScript SDK requestSendChimeRequestv15.0.0#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>EmailMessageInputT.nilable(Chime::EmailMessageInput)ChimeEmailMessageInputInline email content. Required for email recipients unless you useMessageTemplatemessage_templateMessageTemplatemessageTemplatemessageTemplatemessage_templatemessage_templatemessageTemplate.Click or tap to expand- #
FromfromFromfromfromfrom_fromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>EmailMailboxInputChime::EmailMailboxChimeEmailAddressrequiredView from attributesClick or tap to expand
Mailbox shown in the email From field. View headers detailsClick or tap to expand
Additional email headers validated before delivery.
Recipient.CustomerIdrecipient.customer_idRecipient.CustomerIDrecipient.customerIdrecipient.customer_idrecipient.customer_idrecipient.customer_idrecipient.customerId and choose which contact method to use:{
"recipient": {
"customer_id": "cu_abc123def456",
"transport": "sms"
},
"full_message": "Your order has shipped."
}Recipient.Typerecipient.typeRecipient.Typerecipient.typerecipient.typerecipient.typerecipient.typerecipient.type to Inttegro.ChimeRecipientType.Email"email"chime.RecipientTypeEmailChimeRecipientType.EMAIL\Inttegro\Chime\RecipientType::Emailinttegro.chime.RecipientType.EMAILInttegro::Chime::RecipientType::EMAILInttegro.ChimeRecipientTypes.Email and include the top-level EmailemailEmailemailemailemailemailemail object:{
"recipient": {
"type": "email",
"email": {
"address": "gloria@example.com"
},
"name": "Gloria Kesewaa"
},
"email": {
"subject": "Your receipt from YourBrand",
"text": "Your receipt is ready. View it at https://yourbrand.example/receipts/or_123.",
"html": "<p>Your receipt is ready. <a href=\"https://yourbrand.example/receipts/or_123\">View receipt</a>.</p>",
"from": {
"name": "YourBrand",
"address": "receipts@yourbrand.example"
}
},
"purpose": "receipt"
}MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate object:{
"recipient": {
"customer_id": "cu_abc123def456",
"transport": "sms"
},
"message_template": {
"template_id": "mtpl_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU",
"variables": {
"order_number": "OR-12345",
"tracking_url": "https://track.example.com/OR-12345"
}
}
}Recipient.Transportrecipient.transportRecipient.Transportrecipient.transportrecipient.transportrecipient.transportrecipient.transportrecipient.transport and Recipient.CustomerIdrecipient.customer_idRecipient.CustomerIDrecipient.customerIdrecipient.customer_idrecipient.customer_idrecipient.customer_idrecipient.customerId with Recipient.Typerecipient.typeRecipient.Typerecipient.typerecipient.typerecipient.typerecipient.typerecipient.type and the matching inline phone or email details.Request
curl https://api.inttegro.com/chimes/send \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"request_meta": {
"idempotency_key": "chime_ship_or_abc123"
},
"recipient": {
"customer_id": "cu_abc123def456",
"transport": "sms"
},
"full_message": "Your order #OR-12345 has been shipped and will arrive in 2-3 business days.",
"sender_id": "YourBrand",
"purpose": "shipping_update",
"custom_data": {
"order_id": "or_abc123",
"fulfillment_id": "ffl_xyz789"
}
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.chimes.send({
requestMeta: {
idempotencyKey: "chime_ship_or_abc123",
},
recipient: {
customerId: "cu_abc123def456",
transport: "sms",
},
fullMessage: "Your order #OR-12345 has been shipped and will arrive in 2-3 business days.",
senderId: "YourBrand",
purpose: "shipping_update",
customData: {
order_id: "or_abc123",
fulfillment_id: "ffl_xyz789",
},
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/chime"
"github.com/inttegro/inttegro-sdk-go/v14/customdata"
"github.com/inttegro/inttegro-sdk-go/v14/request"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := chime.SendParams{
RequestMeta: &request.Meta{
IdempotencyKey: "chime_ship_or_abc123",
},
Recipient: chime.Recipient{},
FullMessage: "Your order #OR-12345 has been shipped and will arrive in 2-3 business days.",
Purpose: "shipping_update",
CustomData: func() *customdata.Data { value, err := customdata.New(map[string]string{
"order_id": "or_abc123",
"fulfillment_id": "ffl_xyz789",
}); if err != nil { panic(err) }; return value }(),
}
result, err := client.Chimes.Send(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.chimes.send(inttegro.chime.SendRequest(
request_meta=inttegro.chime.SendRequestRequestMeta(
idempotency_key="chime_ship_or_abc123",
),
recipient=inttegro.chime.SavedCustomerRecipientInput(
customer_id="cu_abc123def456",
transport="sms",
),
full_message="Your order #OR-12345 has been shipped and will arrive in 2-3 business days.",
sender_id="YourBrand",
purpose="shipping_update",
custom_data=inttegro.CustomData({
"order_id": "or_abc123",
"fulfillment_id": "ffl_xyz789",
}),
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->chimes->send([
'request_meta' => new \Inttegro\Request\Meta(
idempotencyKey: 'chime_ship_or_abc123',
),
'recipient' => [
'customer_id' => 'cu_abc123def456',
'transport' => 'sms',
],
'full_message' => 'Your order #OR-12345 has been shipped and will arrive in 2-3 business days.',
'sender_id' => 'YourBrand',
'purpose' => 'shipping_update',
'custom_data' => [
'order_id' => 'or_abc123',
'fulfillment_id' => 'ffl_xyz789',
],
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.chimes.send(
request_meta: {
idempotency_key: "chime_ship_or_abc123",
},
recipient: {
customer_id: "cu_abc123def456",
transport: "sms",
},
full_message: "Your order #OR-12345 has been shipped and will arrive in 2-3 business days.",
sender_id: "YourBrand",
purpose: "shipping_update",
custom_data: {
order_id: "or_abc123",
fulfillment_id: "ffl_xyz789",
}
)import com.inttegro.Client;
import com.inttegro.chimes.SendChimeParams;
import com.inttegro.RequestMeta;
import com.inttegro.chimes.ChimeRecipient;
import com.inttegro.CustomData;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = SendChimeParams.builder()
.requestMeta(RequestMeta.builder()
.idempotencyKey("chime_ship_or_abc123")
.build())
.recipient(ChimeRecipient.builder().build())
.fullMessage("Your order #OR-12345 has been shipped and will arrive in 2-3 business days.")
.purpose("shipping_update")
.customData(new CustomData()
.set("order_id", "or_abc123")
.set("fulfillment_id", "ffl_xyz789"))
.build();
var result = client.chimes().send(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Chimes.SendAsync(new {
request_meta = new {
idempotency_key = "chime_ship_or_abc123",
},
recipient = new {
customer_id = "cu_abc123def456",
transport = "sms",
},
full_message = "Your order #OR-12345 has been shipped and will arrive in 2-3 business days.",
sender_id = "YourBrand",
purpose = "shipping_update",
custom_data = new {
order_id = "or_abc123",
fulfillment_id = "ffl_xyz789",
},
});{
"chime": {
"id": "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU",
"customer_id": "cu_abc123def456",
"created_at": "2030-12-10T10:30:00Z",
"full_message": "Your order #OR-12345 has been shipped and will arrive in 2-3 business days. Track at: https://track.example.com/OR-12345",
"recipient": {
"type": "phone",
"phone": {
"number": "+233544998605"
},
"name": "Gloria Kesewaa"
},
"sender_id": "YourBrand",
"purpose": "shipping_update",
"custom_data": {
"order_id": "or_abc123",
"fulfillment_id": "ffl_xyz789"
},
"transmission": {
"address": "+233544998605",
"created_at": "2030-12-10T10:30:00Z",
"initialized_at": "2030-12-10T10:30:00Z",
"mechanism": "sms",
"sent_at": "2030-12-10T10:30:05Z",
"sent_via": "sms",
"status": "sent"
}
}
}Lookup chime POST /chimes/lookup
Retrieve one Chime to see what was sent and whether it was delivered. This is useful when answering delivery questions or matching a notification to your own records.
Required attributes
Chime::LookupRequestv13.0.0TypeScript SDK requestLookupChimeRequestv15.0.0Request
curl https://api.inttegro.com/chimes/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chime_id": "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.chimes.lookup({
chimeId: "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Chimes.Lookup(ctx, "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.chimes.lookup("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->chimes->lookup("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.chimes.lookup(chime_id: "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.chimes().lookup("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Chimes.LookupAsync("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU");{
"chime": {
"id": "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU",
"created_at": "2030-12-10T10:30:00Z",
"full_message": "Your order #OR-12345 has been shipped and will arrive in 2-3 business days. Track at: https://track.example.com/OR-12345",
"recipient": {
"type": "phone",
"phone": {
"number": "+233544998605"
},
"name": "John Doe"
},
"sender_id": "YourBrand",
"purpose": "shipping_update",
"custom_data": {
"order_id": "or_abc123",
"fulfillment_id": "ffl_xyz789"
},
"transmission": {
"address": "+233544998605",
"created_at": "2030-12-10T10:30:00Z",
"delivered_at": "2030-12-10T10:30:15Z",
"initialized_at": "2030-12-10T10:30:00Z",
"mechanism": "sms",
"sent_at": "2030-12-10T10:30:05Z",
"sent_via": "sms",
"status": "delivered"
}
}
}Page chimes POST /chimes/page
Browse sent Chimes, newest first. Filter by customer or exact phone number or email address to review one recipient’s notification history.
Optional attributes
PageParamsv14.0.0Java SDK requestPageChimesParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestPageRequestv15.0.0Ruby SDK requestChime::PageRequestv13.0.0TypeScript SDK requestPageChimesRequestv15.0.0- #
CustomerIdcustomer_idCustomerIDcustomerId(…)customerIdcustomer_idcustomer_idcustomerIdstringstringstringStringstringstrT.nilable(String)stringRestrict the page to Chimes associated with this customer.
- #
PageNumberpage_numberPageNumberpageNumber(…)pageNumberpage_numberpage_numberpageNumberlongintegerintIntegerintintT.nilable(Integer)number1-based page index to fetch. Defaults to
11111111and must stay between11111111and1010101010101010.
RecipientrecipientRecipientrecipientrecipientrecipientrecipientrecipient, CustomerIdcustomer_idCustomerIDcustomerIdcustomer_idcustomer_idcustomer_idcustomerId, both, or neither.The response Sizepage.sizeSizesizesizesizesizesize is the number of Chimes actually returned in Chimespage.chimesChimeschimeschimeschimeschimeschimes, not the requested page capacity.Request
curl https://api.inttegro.com/chimes/page \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"page_number": 1,
"page_size": 25,
"customer_id": "cu_abc123def456"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.chimes.page({
pageNumber: 1,
pageSize: 25,
customerId: "cu_abc123def456",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/chime"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := chime.PageParams{
PageNumber: 1,
PageSize: 25,
CustomerID: "cu_abc123def456",
}
result, err := client.Chimes.Page(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.chimes.page(inttegro.chime.PageRequest(
page_number=1,
page_size=25,
customer_id="cu_abc123def456",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->chimes->page([
'page_number' => 1,
'page_size' => 25,
'customer_id' => 'cu_abc123def456',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.chimes.page(
page_number: 1,
page_size: 25,
customer_id: "cu_abc123def456"
)import com.inttegro.Client;
import com.inttegro.chimes.PageChimesParams;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = PageChimesParams.builder()
.pageNumber(1)
.pageSize(25)
.customerId("cu_abc123def456")
.build();
var result = client.chimes().page(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Chimes.PageAsync(new {
page_number = 1,
page_size = 25,
customer_id = "cu_abc123def456",
});Schedule chime POST /chimes/schedule
Schedule one or more notifications for a future time. Every recipient in a schedule must use the same channel, so create separate schedules for SMS and email.
Rules
SendAftersend_afterSendAftersendAftersend_aftersend_aftersend_aftersendAftermust be in the future.- Use one content source:
FullMessagefull_messageFullMessagefullMessagefull_messagefull_messagefull_messagefullMessageor an SMS template for SMS;EmailemailEmailemailemailemailemailemailor an email template for email. - Address each recipient as a saved customer or an inline contact, using the same shapes as Send chime.
Required attributes
ScheduleParamsv14.0.0Java SDK requestScheduleChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestChimeRequestv15.0.0Ruby SDK requestSchedule::ChimeRequestv13.0.0TypeScript SDK requestScheduleChimeRequestv15.0.0#
RecipientsrecipientsRecipientsrecipients(…)recipientsrecipientsrecipientsrecipientsList<object?>array<object>[]stringList<String>list<mixed>list[InlineRecipientInputVariant1 | InlineRecipientInputVariant2 | SavedCustomerRecipientInput]T::Array[T.any(Chime::PhoneRecipient, Chime::EmailRecipient, Chime::SavedCustomerRecipient)]ChimeRecipient[]requiredOne or more recipients. Each item uses one of the recipient shapes below.Click or tap to expand- #
CustomerIdcustomer_idCustomerIDcustomerIdcustomerIdcustomer_idcustomer_idcustomerIdstringstringstringStringstringstrStringstringrequiredRequired for a saved-customer recipient. Pair withRecipients[].Transportrecipients[].transportRecipients[].Transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transport. - #
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>InlineRecipientInputVariant2EmailChime::EmailRecipientEmailChimeRecipientEmailrequired - #
PhonephonePhonephonephonephonephonephoneDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>InlineRecipientInputVariant1PhoneChime::PhoneRecipientPhoneChimeRecipientPhonerequired - #
TransporttransportTransporttransporttransporttransporttransporttransportenumenumstring enumenumstring enumLiteral['sms', 'email', ChimeTransport.SMS, ChimeTransport.EMAIL]Chime::TransportChimeRecipientTransportrequiredRequired for a saved-customer recipient:Inttegro.ChimeTransport.Sms"sms"chime.TransportSMSChimeTransport.SMS\Inttegro\Chime\Transport::Smsinttegro.chime.Transport.SMSInttegro::Chime::Transport::SMSInttegro.ChimeTransports.SmsorInttegro.ChimeTransport.Email"email"chime.TransportEmailChimeTransport.EMAIL\Inttegro\Chime\Transport::Emailinttegro.chime.Transport.EMAILInttegro::Chime::Transport::EMAILInttegro.ChimeTransports.Email. - #
TypetypeTypetypetypetypetypetypeenumenumstring enumenumstring enumLiteral['phone', ChimeRecipientType.PHONE]Chime::PhoneRecipientType'phone' | 'email'requiredRequired for an inline recipient:Inttegro.ChimeRecipientType.Phone"phone"chime.RecipientTypePhoneChimeRecipientType.PHONE\Inttegro\Chime\RecipientType::Phoneinttegro.chime.RecipientType.PHONEInttegro::Chime::RecipientType::PHONEInttegro.ChimeRecipientTypes.PhoneorInttegro.ChimeRecipientType.Email"email"chime.RecipientTypeEmailChimeRecipientType.EMAIL\Inttegro\Chime\RecipientType::Emailinttegro.chime.RecipientType.EMAILInttegro::Chime::RecipientType::EMAILInttegro.ChimeRecipientTypes.Email.
- #
SendAftersend_afterSendAftersendAfter(…)sendAftersend_aftersend_aftersendAfterDateTimeOffsettimestamp*TimeOffsetDateTimeDateTimeImmutabledatetimeTimeDaterequiredEarliest time at which processing may begin. Actual dispatch can occur later.
Optional attributes
ScheduleParamsv14.0.0Java SDK requestScheduleChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestChimeRequestv15.0.0Ruby SDK requestSchedule::ChimeRequestv13.0.0TypeScript SDK requestScheduleChimeRequestv15.0.0#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>EmailMessageInputT.nilable(Chime::EmailMessageInput)ChimeEmailMessageInputInline email content. Required for email recipients unless you useMessageTemplatemessage_templateMessageTemplatemessageTemplatemessageTemplatemessage_templatemessage_templatemessageTemplate.Click or tap to expand- #
FromfromFromfromfromfrom_fromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>EmailMailboxInputChime::EmailMailboxChimeEmailAddressrequiredView from attributesClick or tap to expand
Mailbox shown in the email From field. View headers detailsClick or tap to expand
Additional email headers validated before delivery.
- #
FullMessagefull_messageFullMessagefullMessage(…)fullMessagefull_messagefull_messagefullMessagestringstringstringStringstringstrT.nilable(String)stringComplete SMS message content to send when the scheduled time arrives. Use this only for SMS schedules when you are not using
MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate. #
MessageTemplatemessage_templateMessageTemplatemessageTemplatemessageTemplatemessage_templatemessage_templatemessageTemplateDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ReferenceInputT.nilable(MessageTemplate::Reference)MessageTemplateReferenceStored template reference. Use this instead ofFullMessagefull_messageFullMessagefullMessagefullMessagefull_messagefull_messagefullMessagefor SMS schedules, or instead ofEmailemailEmailemailemailemailemailemailfor email schedules.Click or tap to expand- #
TemplateIdtemplate_idTemplateIDtemplateIdtemplateIdtemplate_idtemplate_idtemplateIdstringstringstringStringstringstrStringstringrequiredID of a published stored template. The template channel must match the resolved recipient transport. - #
VariablesvariablesVariablesvariablesvariablesvariablesvariablesvariablesDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>MessageTemplateVariablesInputT.nilable(MessageTemplate::Variables)JSONDataView variables detailsClick or tap to expand
Values for the template variables. Required variables must be present and valid for their declared types.
#
RequestMetarequest_metaRequestMetarequestMeta(…)requestMetarequest_metarequest_metarequestMetaDictionary<string, object?>object*MetaRequestMetaarray<string, mixed>ChimeRequestRequestMetaT.nilable(Schedule::ChimeRequestRequestMeta)MetaRequest-specific controls that do not change the scheduled notification.Click or tap to expand- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKey(…)idempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstrT.nilable(String)stringOptional request key.
- #
SenderIdsender_idSenderIDsenderId(…)senderIdsender_idsender_idsenderIdstringstringstringStringstringstrT.nilable(String)stringSMS sender identifier. If omitted, Inttegro uses your default sender. For email, configure the sender with
Email.Fromemail.fromEmail.Fromemail.fromemail.fromemail.fromemail.fromemail.from.
Response attributes
ScheduledChimev13.1.0Go SDK responseScheduledChimev14.0.0Java SDK responseScheduledChimev11.1.0PHP SDK responseScheduleCreationDetailv15.0.0Python SDK responseCreationDetailv15.0.0Ruby SDK responseScheduleCreationDetailv13.0.0TypeScript SDK responseScheduledChimev15.0.0- #
CustomerIdscustomer_idsCustomerIdscustomerIdscustomerIdscustomer_idscustomer_idscustomerIdsList<object?>array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]unknown[]Saved customer IDs resolved for this schedule. Omitted when none were used.
#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMessage | NoneT::Hash[String, T.untyped]Record<string, unknown>Validated email content. Omitted for SMS schedules.Click or tap to expand- #
FromfromFromfromfromfromfromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>dict[str, Any]T::Hash[String, T.untyped]Record<string, unknown>View from attributesClick or tap to expand
View headers detailsClick or tap to expand
Validated email headers.- #
ReplyToreply_toReplyToreplyToreplyToreply_toreply_toreplyToDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMailbox | NoneT::Hash[String, T.untyped]Record<string, unknown>View reply_to attributesClick or tap to expand
- #
SafetysafetySafetysafetysafetysafetysafetysafetyDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSafetyResult | NoneT::Hash[String, T.untyped]Record<string, unknown>View safety attributesClick or tap to expand
Email content safety result.- #
ContentHashcontent_hashContentHashcontentHashcontentHashcontent_hashcontent_hashcontentHashstringstringstringStringstringstr | NoneStringstringHash of the scanned content. - #
LinkslinksLinkslinkslinkslinkslinkslinksList<object?>array[]anyList<Object>list<mixed>list[ChimeEmailScannedLink] | NoneT::Array[T.untyped]unknown[]View links attributesClick or tap to expand
Links found by the scan.- #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::Enumstring unionInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
NormalizedTextnormalized_textNormalizedTextnormalizedTextnormalizedTextnormalized_textnormalized_textnormalizedTextstringstringstringStringstringstr | NoneStringstringNormalized text used by the scan. - #
QuarantineNotesquarantine_notesQuarantineNotesquarantineNotesquarantineNotesquarantine_notesquarantine_notesquarantineNotesstring?string|null*stringString?stringstr | NoneT.nilable(String)string | nullQuarantine context, when available. - #
ReasonCodesreason_codesReasonCodesreasonCodesreasonCodesreason_codesreason_codesreasonCodesList<object?>array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]unknown[]Reasons for a non-allowed result. - #
SanitizedHtmlsanitized_htmlSanitizedHtmlsanitizedHtmlsanitizedHtmlsanitized_htmlsanitized_htmlsanitizedHtmlstring?string|null*stringString?stringstr | NoneT.nilable(String)string | nullSanitized HTML, when available. - #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::Enumstring unionInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
SchemaschemaSchemaschemaschemaschemaschemaschemaDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSchemaMarkup | NoneT::Hash[String, T.untyped]Record<string, unknown>View schema attributesClick or tap to expand
Generated Schema.org markup.View json_ld detailsClick or tap to expand
Generated JSON-LD.
- #
ExecutedAtexecuted_atExecutedAtexecutedAtexecutedAtexecuted_atexecuted_atexecutedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetime | NoneTimeDate | nullWhen execution began. Omitted until execution.
- #
FullMessagefull_messageFullMessagefullMessagefullMessagefull_messagefull_messagefullMessagestring?stringstringStringstringstrStringstringrequiredRendered SMS content. Empty for email schedules.
- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKeyidempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstr | NoneStringstringRequest key associated with the schedule.
- #
RecipientsrecipientsRecipientsrecipientsrecipientsrecipientsrecipientsrecipientsList<string>?array[]stringList<String>list<mixed>list[str] | NoneT::Array[T.untyped]string[]Resolved destination addresses.
- #
SenderIdsender_idSenderIDsenderIdsenderIdsender_idsender_idsenderIdstring?stringstringStringstringstrStringstringrequiredSMS sender selected for the scheduled messages. For email, see
Email.Fromscheduled_chime.email.fromEmail.Fromemail.fromscheduledChime.email.fromscheduled_chime.email.fromscheduled_chime.email.fromemail.from.
Recipients[].CustomerIdrecipients[].customer_idRecipients[].CustomerIDrecipients[].customerIdrecipients[].customer_idrecipients[].customer_idrecipients[].customer_idrecipients[].customerId and Recipients[].Transportrecipients[].transportRecipients[].Transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transport:{
"recipients": [
{ "customer_id": "cu_abc123def456", "transport": "sms" },
{ "customer_id": "cu_def456ghi789", "transport": "sms" }
],
"full_message": "Reminder: Your appointment starts tomorrow at 10 AM.",
"send_after": "2030-12-15T10:00:00Z",
"request_meta": {
"idempotency_key": "sched_appointment_cu_abc123_2025_12_15"
}
}Recipients[].Transportrecipients[].transportRecipients[].Transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transport to Inttegro.ChimeTransport.Email"email"chime.TransportEmailChimeTransport.EMAIL\Inttegro\Chime\Transport::Emailinttegro.chime.Transport.EMAILInttegro::Chime::Transport::EMAILInttegro.ChimeTransports.Email and provide the top-level EmailemailEmailemailemailemailemailemail object:{
"recipients": [
{ "customer_id": "cu_abc123def456", "transport": "email" },
{ "customer_id": "cu_def456ghi789", "transport": "email" }
],
"email": {
"subject": "Your subscription renews tomorrow",
"text": "Your subscription renews tomorrow. Update billing at https://yourbrand.example/billing.",
"from": {
"address": "billing@yourbrand.example"
}
},
"send_after": "2030-12-15T10:00:00Z",
"purpose": "reminder"
}MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate object shape used by Send chime:{
"recipients": [
{ "customer_id": "cu_abc123def456", "transport": "email" }
],
"message_template": {
"template_id": "mtpl_emailRenewal123",
"variables": {
"customer_name": "Gloria",
"renewal_date": "2030-12-16"
}
},
"send_after": "2030-12-15T10:00:00Z",
"purpose": "reminder"
}The examples below mix both recipient shapes in the same request.
Request
curl https://api.inttegro.com/chimes/schedule \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{
"customer_id": "cu_abc123def456",
"transport": "sms"
},
{
"type": "phone",
"phone": {
"number": "+233501234567"
},
"name": "Backup Contact"
}
],
"full_message": "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
"send_after": "2030-12-15T09:00:00Z",
"sender_id": "YourBrand",
"purpose": "reminder"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.chimes.schedule({
recipients: [
{
customerId: "cu_abc123def456",
transport: "sms",
},
{
type: "phone",
phone: {
number: "+233501234567",
},
name: "Backup Contact",
},
],
fullMessage: "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
sendAfter: new Date("2030-12-15T09:00:00Z"),
senderId: "YourBrand",
purpose: "reminder",
})package main
import (
"context"
"log"
"os"
"time"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/chime"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := chime.ScheduleParams{
Recipients: []string{
"cu_abc123def456",
"+233501234567",
},
FullMessage: "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
SendAfter: mustParseTime("2030-12-15T09:00:00Z"),
SenderID: "YourBrand",
Purpose: "reminder",
}
result, err := client.Chimes.Schedule(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}
func mustParseTime(value string) *time.Time {
parsed, err := time.Parse(time.RFC3339, value)
if err != nil {
panic(err)
}
return &parsed
}import os
from datetime import datetime
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.chimes.schedule(inttegro.schedule.ChimeRequest(
recipients=[
inttegro.chime.SavedCustomerRecipientInput(
customer_id="cu_abc123def456",
transport="sms",
),
inttegro.chime.InlineRecipientInputVariant1(
type="phone",
phone=inttegro.chime.InlineRecipientInputVariant1Phone(
number="+233501234567",
),
name="Backup Contact",
),
],
full_message="Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
send_after=datetime.fromisoformat("2030-12-15T09:00:00Z".replace("Z", "+00:00")),
sender_id="YourBrand",
purpose="reminder",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->chimes->schedule([
'recipients' => [
[
'customer_id' => 'cu_abc123def456',
'transport' => 'sms',
],
[
'type' => 'phone',
'phone' => [
'number' => '+233501234567',
],
'name' => 'Backup Contact',
],
],
'full_message' => 'Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.',
'send_after' => '2030-12-15T09:00:00Z',
'sender_id' => 'YourBrand',
'purpose' => 'reminder',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.chimes.schedule(
recipients: [
{
customer_id: "cu_abc123def456",
transport: "sms",
},
{
type: "phone",
phone: {
number: "+233501234567",
},
name: "Backup Contact",
},
],
full_message: "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
send_after: "2030-12-15T09:00:00Z",
sender_id: "YourBrand",
purpose: "reminder"
)import com.inttegro.Client;
import com.inttegro.chimes.ScheduleChimeParams;
import java.util.List;
import java.time.OffsetDateTime;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = ScheduleChimeParams.builder()
.recipients(List.of(
"cu_abc123def456",
"+233501234567"
))
.fullMessage("Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.")
.sendAfter(OffsetDateTime.parse("2030-12-15T09:00:00Z"))
.senderId("YourBrand")
.purpose("reminder")
.build();
var result = client.chimes().schedule(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Chimes.ScheduleAsync(new {
recipients = new object[] {
new {
customer_id = "cu_abc123def456",
transport = "sms",
},
new {
type = "phone",
phone = new {
number = "+233501234567",
},
name = "Backup Contact",
},
},
full_message = "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
send_after = "2030-12-15T09:00:00Z",
sender_id = "YourBrand",
purpose = "reminder",
});{
"scheduled_chime": {
"id": "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
"created_at": "2030-12-10T14:30:00Z",
"customer_ids": [
"cu_abc123def456"
],
"recipients": [
"+233544998605",
"+233501234567"
],
"full_message": "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
"sender_id": "YourBrand",
"purpose": "reminder",
"send_after": "2030-12-15T09:00:00Z"
}
}Lookup a scheduled chime POST /schedules/lookup
Check whether a scheduled notification has run. After execution, the response includes the Chime IDs created for successful recipients and any recipient-specific errors.
Required attributes
Schedule::LookupRequestv13.0.0TypeScript SDK requestLookupScheduleRequestv15.0.0- #
ScheduleIdschedule_idScheduleIDscheduleIdscheduleIdschedule_idschedule_idscheduleIdstringstringstringStringstringstrStringstringrequiredThe schedule ID returned when you created the scheduled Chime. Example:
sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk.
Response attributes
ScheduledChimev13.1.0Go SDK responseSchedulev14.0.0Java SDK responseScheduleDetailv11.1.0PHP SDK responseScheduleDetailv15.0.0Python SDK responseSchedulev15.0.0Ruby SDK responseScheduleDetailv13.0.0TypeScript SDK responseScheduledChimev15.0.0- #
CustomerIdscustomer_idsCustomerIdscustomerIdscustomerIdscustomer_idscustomer_idscustomerIdsList<object?>array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]unknown[]Saved customer IDs resolved for this schedule. Omitted when none were used.
#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMessage | NoneT::Hash[String, T.untyped]Record<string, unknown>Validated email content. Omitted for SMS schedules.Click or tap to expand- #
FromfromFromfromfromfromfromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>dict[str, Any]T::Hash[String, T.untyped]Record<string, unknown>View from attributesClick or tap to expand
View headers detailsClick or tap to expand
Validated email headers.- #
ReplyToreply_toReplyToreplyToreplyToreply_toreply_toreplyToDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMailbox | NoneT::Hash[String, T.untyped]Record<string, unknown>View reply_to attributesClick or tap to expand
- #
SafetysafetySafetysafetysafetysafetysafetysafetyDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSafetyResult | NoneT::Hash[String, T.untyped]Record<string, unknown>View safety attributesClick or tap to expand
Email content safety result.- #
ContentHashcontent_hashContentHashcontentHashcontentHashcontent_hashcontent_hashcontentHashstringstringstringStringstringstr | NoneStringstringHash of the scanned content. - #
LinkslinksLinkslinkslinkslinkslinkslinksList<object?>array[]anyList<Object>list<mixed>list[ChimeEmailScannedLink] | NoneT::Array[T.untyped]unknown[]View links attributesClick or tap to expand
Links found by the scan.- #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::Enumstring unionInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
NormalizedTextnormalized_textNormalizedTextnormalizedTextnormalizedTextnormalized_textnormalized_textnormalizedTextstringstringstringStringstringstr | NoneStringstringNormalized text used by the scan. - #
QuarantineNotesquarantine_notesQuarantineNotesquarantineNotesquarantineNotesquarantine_notesquarantine_notesquarantineNotesstring?string|null*stringString?stringstr | NoneT.nilable(String)string | nullQuarantine context, when available. - #
ReasonCodesreason_codesReasonCodesreasonCodesreasonCodesreason_codesreason_codesreasonCodesList<object?>array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]unknown[]Reasons for a non-allowed result. - #
SanitizedHtmlsanitized_htmlSanitizedHtmlsanitizedHtmlsanitizedHtmlsanitized_htmlsanitized_htmlsanitizedHtmlstring?string|null*stringString?stringstr | NoneT.nilable(String)string | nullSanitized HTML, when available. - #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::Enumstring unionInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
SchemaschemaSchemaschemaschemaschemaschemaschemaDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSchemaMarkup | NoneT::Hash[String, T.untyped]Record<string, unknown>View schema attributesClick or tap to expand
Generated Schema.org markup.View json_ld detailsClick or tap to expand
Generated JSON-LD.
#
ErrorserrorsErrorserrorserrorserrorserrorserrorsList<ApiError>?array<object>[]ErrorList<ScheduleError>list<mixed>list[ScheduleError] | NoneT::Array[T.untyped]ScheduleError[]Per-recipient execution errors. Omitted when there are no errors.Click or tap to expand- #
ExecutedAtexecuted_atExecutedAtexecutedAtexecutedAtexecuted_atexecuted_atexecutedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetime | NoneTimeDate | nullWhen execution began. Omitted until execution.
- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKeyidempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstr | NoneStringstringRequest key associated with the schedule.
- #
RecipientsrecipientsRecipientsrecipientsrecipientsrecipientsrecipientsrecipientsList<string>?array[]stringList<String>list<mixed>list[str]T::Array[T.untyped]string[]requiredResolved destination addresses.
- #
SenderIdsender_idSenderIDsenderIdsenderIdsender_idsender_idsenderIdstring?stringstringStringstringstrStringstringrequiredSMS sender selected for the scheduled messages. For email, see
Email.Fromscheduled_chime.email.fromScheduledChime.Email.FromscheduledChime.email.fromscheduledChime.email.fromscheduled_chime.email.fromscheduled_chime.email.fromemail.from.
Request
curl https://api.inttegro.com/schedules/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schedule_id": "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.schedules.lookup({
scheduleId: "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Schedules.Lookup(ctx, "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.schedules.lookup("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->schedules->lookup("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.schedules.lookup(schedule_id: "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.schedules().lookup("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Schedules.LookupAsync("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");{
"scheduled_chime": {
"id": "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
"recipients": [
"+233544998605",
"+233501234567",
"+233509999999"
],
"content": "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
"sender_id": "YourBrand",
"purpose": "reminder",
"send_after": "2030-12-15T09:00:00Z",
"created_at": "2030-12-10T14:30:00Z",
"executed_at": "2030-12-15T09:00:03Z",
"chime_ids": [
"ch_abc123xyz",
"ch_def456uvw"
],
"errors": [
{
"recipient": "missing@example.com",
"type": "invalid_email_address",
"fix_code": "provide_valid_email"
}
]
}
}Cancel a scheduled chime POST /schedules/cancel
SendAfterscheduled_chime.send_afterScheduledChime.SendAfterscheduledChime.sendAfterscheduledChime.sendAfterscheduled_chime.send_afterscheduled_chime.send_aftersendAfter; once execution starts, some or all messages may already be on their way.Required attributes
Schedule::CancelRequestv13.0.0TypeScript SDK requestCancelScheduleRequestv15.0.0- #
ScheduleIdschedule_idScheduleIDscheduleIdscheduleIdschedule_idschedule_idscheduleIdstringstringstringStringstringstrStringstringrequiredThe schedule ID to cancel. The schedule must not be completed or already canceled.
CanceledAtscheduled_chime.canceled_atScheduledChime.CanceledAtscheduledChime.canceledAtscheduledChime.canceledAtscheduled_chime.canceled_atscheduled_chime.canceled_atcanceledAt with the recorded cancellation time.Request
curl https://api.inttegro.com/schedules/cancel \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: cancel-schedule-kPvqTrqGsopu07wf" \
-d '{
"schedule_id": "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.schedules.cancel({
scheduleId: "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Schedules.Cancel(ctx, "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.schedules.cancel("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->schedules->cancel("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.schedules.cancel(schedule_id: "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.schedules().cancel("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Schedules.CancelAsync("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");{
"scheduled_chime": {
"id": "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
"customer_ids": [
"cu_abc123def456"
],
"recipients": [
"+233544998605",
"+233501234567"
],
"content": "Reminder: Your subscription renews tomorrow. Visit https://example.com/billing to update payment details.",
"sender_id": "YourBrand",
"purpose": "reminder",
"send_after": "2030-12-15T09:00:00Z",
"created_at": "2030-12-10T14:30:00Z",
"canceled_at": "2030-12-14T16:45:00Z"
}
}Broadcast chimes POST /chimes/broadcast
Send one message to many recipients. The response confirms that Inttegro accepted the broadcast, not that every recipient has received a Chime; use Lookup a broadcast to follow its progress.
Rules
- All recipients must use the same channel. Create separate broadcasts for SMS and email.
- SMS uses raw text or a published SMS template. Email uses inline
EmailemailEmailemailemailemailemailemailcontent or a published email template. - Address each recipient as a saved customer or an inline contact, using the same shapes as Send chime.
- Each recipient receives a separate Chime, so delivery can be tracked individually.
- Provide
SendersenderSendersendersendersendersendersenderwhen you do not want it to be empty; broadcasts do not apply a default sender.
Required attributes
CreateParamsv14.0.0Java SDK requestBroadcastChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestRequestv15.0.0Ruby SDK requestBroadcast::Requestv13.0.0TypeScript SDK requestBroadcastChimeRequestv15.0.0#
RecipientsrecipientsRecipientsrecipients(…)recipientsrecipientsrecipientsrecipientsList<object?>array<object>[]stringList<String>list<mixed>list[InlineRecipientInputVariant1 | InlineRecipientInputVariant2 | SavedCustomerRecipientInput]T::Array[T.any(Chime::PhoneRecipient, Chime::EmailRecipient, Chime::SavedCustomerRecipient)]ChimeRecipient[]requiredOne or more recipients. Each item uses one of the recipient shapes below.Click or tap to expand- #
CustomerIdcustomer_idCustomerIDcustomerIdcustomerIdcustomer_idcustomer_idcustomerIdstringstringstringStringstringstrStringstringrequiredRequired for a saved-customer recipient. Pair withRecipients[].Transportrecipients[].transportRecipients[].Transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transport. - #
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>InlineRecipientInputVariant2EmailChime::EmailRecipientEmailChimeRecipientEmailrequired - #
PhonephonePhonephonephonephonephonephoneDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>InlineRecipientInputVariant1PhoneChime::PhoneRecipientPhoneChimeRecipientPhonerequired - #
TransporttransportTransporttransporttransporttransporttransporttransportenumenumstring enumenumstring enumLiteral['sms', 'email', ChimeTransport.SMS, ChimeTransport.EMAIL]Chime::TransportChimeRecipientTransportrequiredRequired for a saved-customer recipient:Inttegro.ChimeTransport.Sms"sms"chime.TransportSMSChimeTransport.SMS\Inttegro\Chime\Transport::Smsinttegro.chime.Transport.SMSInttegro::Chime::Transport::SMSInttegro.ChimeTransports.SmsorInttegro.ChimeTransport.Email"email"chime.TransportEmailChimeTransport.EMAIL\Inttegro\Chime\Transport::Emailinttegro.chime.Transport.EMAILInttegro::Chime::Transport::EMAILInttegro.ChimeTransports.Email. - #
TypetypeTypetypetypetypetypetypeenumenumstring enumenumstring enumLiteral['phone', ChimeRecipientType.PHONE]Chime::PhoneRecipientType'phone' | 'email'requiredRequired for an inline recipient:Inttegro.ChimeRecipientType.Phone"phone"chime.RecipientTypePhoneChimeRecipientType.PHONE\Inttegro\Chime\RecipientType::Phoneinttegro.chime.RecipientType.PHONEInttegro::Chime::RecipientType::PHONEInttegro.ChimeRecipientTypes.PhoneorInttegro.ChimeRecipientType.Email"email"chime.RecipientTypeEmailChimeRecipientType.EMAIL\Inttegro\Chime\RecipientType::Emailinttegro.chime.RecipientType.EMAILInttegro::Chime::RecipientType::EMAILInttegro.ChimeRecipientTypes.Email.
Optional attributes
CreateParamsv14.0.0Java SDK requestBroadcastChimeParamsv11.1.0PHP SDK requestv15.0.0Python SDK requestRequestv15.0.0Ruby SDK requestBroadcast::Requestv13.0.0TypeScript SDK requestBroadcastChimeRequestv15.0.0#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>EmailMessageInputT.nilable(Chime::EmailMessageInput)ChimeEmailMessageInputInline email content. Required for email recipients unless you useMessageTemplatemessage_templateMessageTemplatemessageTemplatemessageTemplatemessage_templatemessage_templatemessageTemplate.Click or tap to expand- #
FromfromFromfromfromfrom_fromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>EmailMailboxInputChime::EmailMailboxChimeEmailAddressrequiredView from attributesClick or tap to expand
Mailbox shown in the email From field. View headers detailsClick or tap to expand
Additional email headers validated before delivery.
#
MessageTemplatemessage_templateMessageTemplatemessageTemplate(…)messageTemplatemessage_templatemessage_templatemessageTemplateDictionary<string, object?>objectstringStringarray<string, mixed>ReferenceInputT.nilable(T.any(String, MessageTemplate::Reference))BroadcastChimeMessageTemplateSMS content or stored template reference.Click or tap to expand- #
TemplateIdtemplate_idTemplateIDtemplateIdtemplateIdtemplate_idtemplate_idtemplateIdstringstringstringStringstringstrStringstringrequiredID of a published stored template. SMS broadcasts require an SMS template; email broadcasts require an email template. - #
VariablesvariablesVariablesvariablesvariablesvariablesvariablesvariablesDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>MessageTemplateVariablesInputT.nilable(MessageTemplate::Variables)JSONDataView variables detailsClick or tap to expand
Values for the template variables. Required variables must be present and valid for their declared types.
#
RequestMetarequest_metaRequestMetarequestMeta(…)requestMetarequest_metarequest_metarequestMetaDictionary<string, object?>object*MetaRequestMetaarray<string, mixed>RequestRequestMetaT.nilable(Broadcast::RequestRequestMeta)MetaRequest-specific controls that do not change the broadcast audience or content.Click or tap to expand- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKey(…)idempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstrT.nilable(String)stringOptional request key.
- #
SendersenderSendersender(…)sendersendersendersenderstringstringstringStringstringstrT.nilable(String)stringSMS sender identifier. Strongly recommended because broadcasts do not apply a default. For email, configure the sender with
Email.Fromemail.fromEmail.Fromemail.fromemail.fromemail.fromemail.fromemail.from.
Response attributes
Broadcastv13.1.0Go SDK responseCreationv14.0.0Java SDK responseBroadcastDetailv11.1.0PHP SDK responseBroadcastCreationDetailv15.0.0Python SDK responseCreationDetailv15.0.0Ruby SDK responseBroadcastCreationDetailv13.0.0TypeScript SDK responseBroadcastv15.0.0- #
CreatedAtcreated_atCreatedAtcreatedAtcreatedAtcreated_atcreated_atcreatedAtDateTimeOffset?timestampTimeOffsetDateTimeDateTimeImmutabledatetimeTimeDaterequiredWhen the broadcast was created.
- #
CustomerIdscustomer_idsCustomerIdscustomerIdscustomerIdscustomer_idscustomer_idscustomerIdsList<string>?array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]string[]Saved customer IDs resolved for this broadcast. Omitted when none were used.
#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMessage | NoneT::Hash[String, T.untyped]ChimeEmailMessageValidated email content. Omitted for SMS broadcasts.Click or tap to expand- #
FromfromFromfromfromfromfromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>dict[str, Any]T::Hash[String, T.untyped]ChimeEmailAddressView from attributesClick or tap to expand
View headers detailsClick or tap to expand
Validated email headers.- #
ReplyToreply_toReplyToreplyToreplyToreply_toreply_toreplyToDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMailbox | NoneT::Hash[String, T.untyped]ChimeEmailAddressView reply_to attributesClick or tap to expand
- #
SafetysafetySafetysafetysafetysafetysafetysafetyDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSafetyResult | NoneT::Hash[String, T.untyped]MessageTemplateSafetyResultView safety attributesClick or tap to expand
Email content safety result.- #
ContentHashcontent_hashContentHashcontentHashcontentHashcontent_hashcontent_hashcontentHashstringstringstringStringstringstr | NoneStringstringHash of the scanned content. - #
LinkslinksLinkslinkslinkslinkslinkslinksList<object?>array[]anyList<Object>list<mixed>list[ChimeEmailScannedLink] | NoneT::Array[T.untyped]MessageTemplateScannedLink[]View links attributesClick or tap to expand
Links found by the scan.- #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::EnumstringInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
NormalizedTextnormalized_textNormalizedTextnormalizedTextnormalizedTextnormalized_textnormalized_textnormalizedTextstringstringstringStringstringstr | NoneStringstringNormalized text used by the scan. - #
QuarantineNotesquarantine_notesQuarantineNotesquarantineNotesquarantineNotesquarantine_notesquarantine_notesquarantineNotesstring?string|null*stringString?stringstr | NoneT.nilable(String)stringQuarantine context, when available. - #
ReasonCodesreason_codesReasonCodesreasonCodesreasonCodesreason_codesreason_codesreasonCodesList<object?>array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]string[]Reasons for a non-allowed result. - #
SanitizedHtmlsanitized_htmlSanitizedHtmlsanitizedHtmlsanitizedHtmlsanitized_htmlsanitized_htmlsanitizedHtmlstring?string|null*stringString?stringstr | NoneT.nilable(String)stringSanitized HTML, when available. - #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::EnumContentSafetyStatusInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
SchemaschemaSchemaschemaschemaschemaschemaschemaDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSchemaMarkup | NoneT::Hash[String, T.untyped]JSONDataView schema attributesClick or tap to expand
Generated Schema.org markup.View json_ld detailsClick or tap to expand
Generated JSON-LD.
- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKeyidempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstr | NoneStringstringRequest key associated with the broadcast.
- #
RecipientsrecipientsRecipientsrecipientsrecipientsrecipientsrecipientsrecipientsList<string>?array[]anyList<String>list<mixed>list[str]T::Array[T.untyped]string[]requiredResolved destination addresses.
- #
SendAftersend_afterSendAftersendAftersendAftersend_aftersend_aftersendAfterDateTimeOffset?timestampTimeOffsetDateTimeDateTimeImmutabledatetimeTimeDaterequiredTime at which asynchronous processing was queued.
- #
SenderIdsender_idSenderIDsenderIdsenderIdsender_idsender_idsenderIdstring?stringstringStringstringstrStringstringrequiredSMS sender selected for the broadcast messages. For email, see
Email.Frombroadcast.email.fromBroadcast.Email.Frombroadcast.email.frombroadcast.email.frombroadcast.email.frombroadcast.email.fromemail.from.
MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate may be a raw SMS string for legacy inline content or an object with MessageTemplate.TemplateIdmessage_template.template_idMessageTemplate.TemplateIDmessageTemplate.templateIdmessage_template.template_idmessage_template.template_idmessage_template.template_idmessageTemplate.templateId and MessageTemplate.Variablesmessage_template.variablesMessageTemplate.VariablesmessageTemplate.variablesmessage_template.variablesmessage_template.variablesmessage_template.variablesmessageTemplate.variables for stored templates. For email broadcasts, MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate must be an object; raw string content is SMS-only.To broadcast to saved customers, include recipients with Recipients[].CustomerIdrecipients[].customer_idRecipients[].CustomerIDrecipients[].customerIdrecipients[].customer_idrecipients[].customer_idrecipients[].customer_idrecipients[].customerId and Recipients[].Transportrecipients[].transportRecipients[].Transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transportrecipients[].transport:{
"recipients": [
{ "customer_id": "cu_abc123def456", "transport": "email" },
{ "customer_id": "cu_def456ghi789", "transport": "email" }
],
"email": {
"subject": "Your order has shipped",
"text": "Your order has shipped. Track it at https://track.shop.example/abc123.",
"from": {
"address": "shipping@shop.example"
}
},
"sender": "ShopBrand",
"request_meta": {
"idempotency_key": "broadcast_shipping_2025_12_15"
}
}EmailemailEmailemailemailemailemailemail object:{
"recipients": [
{ "customer_id": "cu_abc123def456", "transport": "email" },
{
"type": "email",
"email": {
"address": "fallback@example.com"
},
"name": "Backup Contact"
}
],
"email": {
"subject": "Your order has shipped",
"text": "Your order #12345 has shipped. Track it at https://track.shop.example/abc123.",
"from": {
"address": "shipping@shop.example"
}
},
"sender": "ShopBrand",
"purpose": "order_notification"
}MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate as an object:{
"recipients": [
{ "customer_id": "cu_abc123def456", "transport": "email" },
{ "customer_id": "cu_def456ghi789", "transport": "email" }
],
"message_template": {
"template_id": "mtpl_emailShipping123",
"variables": {
"order_number": "OR-12345",
"tracking_url": "https://track.shop.example/OR-12345"
}
},
"sender": "ShopBrand",
"purpose": "order_notification"
}The examples below mix both recipient shapes in the same request.
Request
curl https://api.inttegro.com/chimes/broadcast \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"recipients": [
{
"customer_id": "cu_abc123def456",
"transport": "email"
},
{
"type": "email",
"email": {
"address": "fallback@example.com"
},
"name": "Backup Contact"
}
],
"email": {
"subject": "Your order #12345 has shipped",
"text": "Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
"from": {
"address": "shipping@shop.example"
}
},
"sender": "ShopName",
"purpose": "order_notification"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.chimes.broadcast({
recipients: [
{
customerId: "cu_abc123def456",
transport: "email",
},
{
type: "email",
email: {
address: "fallback@example.com",
},
name: "Backup Contact",
},
],
email: {
subject: "Your order #12345 has shipped",
text: "Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
from: {
address: "shipping@shop.example",
},
},
sender: "ShopName",
purpose: "order_notification",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
"github.com/inttegro/inttegro-sdk-go/v14/broadcast"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
params := broadcast.CreateParams{
Recipients: []string{
"cu_abc123def456",
"fallback@example.com",
},
Sender: "ShopName",
Purpose: "order_notification",
}
result, err := client.Chimes.Broadcast(ctx, params)
if err != nil {
log.Fatal(err)
}
_ = result
}import os
import inttegro
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.chimes.broadcast(inttegro.broadcast.Request(
recipients=[
inttegro.chime.SavedCustomerRecipientInput(
customer_id="cu_abc123def456",
transport="email",
),
inttegro.chime.InlineRecipientInputVariant2(
type="email",
email=inttegro.chime.InlineRecipientInputVariant2Email(
address="fallback@example.com",
),
name="Backup Contact",
),
],
email=inttegro.chime.EmailMessageInput(
subject="Your order #12345 has shipped",
text="Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
from_=inttegro.chime.EmailMailboxInput(
address="shipping@shop.example",
),
),
sender="ShopName",
purpose="order_notification",
))<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->chimes->broadcast([
'recipients' => [
[
'customer_id' => 'cu_abc123def456',
'transport' => 'email',
],
[
'type' => 'email',
'email' => [
'address' => 'fallback@example.com',
],
'name' => 'Backup Contact',
],
],
'email' => [
'subject' => 'Your order #12345 has shipped',
'text' => 'Your order #12345 has shipped. Track it at https://track.shop.com/abc123.',
'from' => [
'address' => 'shipping@shop.example',
],
],
'sender' => 'ShopName',
'purpose' => 'order_notification',
]);require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.chimes.broadcast(
recipients: [
{
customer_id: "cu_abc123def456",
transport: "email",
},
{
type: "email",
email: {
address: "fallback@example.com",
},
name: "Backup Contact",
},
],
email: {
subject: "Your order #12345 has shipped",
text: "Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
from: {
address: "shipping@shop.example",
},
},
sender: "ShopName",
purpose: "order_notification"
)import com.inttegro.Client;
import com.inttegro.chimes.BroadcastChimeParams;
import java.util.List;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var params = BroadcastChimeParams.builder()
.recipients(List.of(
"cu_abc123def456",
"fallback@example.com"
))
.sender("ShopName")
.purpose("order_notification")
.build();
var result = client.chimes().broadcast(params);
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Chimes.BroadcastAsync(new {
recipients = new object[] {
new {
customer_id = "cu_abc123def456",
transport = "email",
},
new {
type = "email",
email = new {
address = "fallback@example.com",
},
name = "Backup Contact",
},
},
email = new {
subject = "Your order #12345 has shipped",
text = "Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
from = new {
address = "shipping@shop.example",
},
},
sender = "ShopName",
purpose = "order_notification",
});{
"broadcast": {
"id": "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
"content": "Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
"customer_ids": [
"cu_abc123def456"
],
"recipients": [
"customer@example.com",
"fallback@example.com"
],
"email": {
"subject": "Your order #12345 has shipped",
"text": "Your order #12345 has shipped. Track it at https://track.shop.com/abc123.",
"from": {
"address": "shipping@shop.example"
}
},
"sender_id": "ShopName",
"purpose": "order_notification",
"send_after": "2030-12-15T09:00:00Z",
"created_at": "2030-12-15T09:00:00Z"
}
}Lookup a broadcast POST /broadcasts/lookup
Check a broadcast’s progress. The response lists the Chimes created for successful recipients and any recipient-specific errors.
Required attributes
Broadcast::LookupRequestv13.0.0TypeScript SDK requestLookupBroadcastRequestv15.0.0- #
BroadcastIdbroadcast_idBroadcastIDbroadcastIdbroadcastIdbroadcast_idbroadcast_idbroadcastIdstringstringstringStringstringstrStringstringrequiredThe broadcast ID returned when you created the broadcast. Example:
brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk.
Response attributes
Broadcastv13.1.0Go SDK responseBroadcastv14.0.0Java SDK responseBroadcastDetailv11.1.0PHP SDK responseBroadcastDetailv15.0.0Python SDK responseBroadcastv15.0.0Ruby SDK responseBroadcastDetailv13.0.0TypeScript SDK responseBroadcastv15.0.0- #
CustomerIdscustomer_idsCustomerIdscustomerIdscustomerIdscustomer_idscustomer_idscustomerIdsList<string>?array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]string[]Saved customer IDs resolved for this broadcast. Omitted when none were used.
#
EmailemailEmailemailemailemailemailemailDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMessage | NoneT::Hash[String, T.untyped]ChimeEmailMessageValidated email content. Omitted for SMS broadcasts.Click or tap to expand- #
FromfromFromfromfromfromfromfromDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>dict[str, Any]T::Hash[String, T.untyped]ChimeEmailAddressView from attributesClick or tap to expand
View headers detailsClick or tap to expand
Validated email headers.- #
ReplyToreply_toReplyToreplyToreplyToreply_toreply_toreplyToDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailMailbox | NoneT::Hash[String, T.untyped]ChimeEmailAddressView reply_to attributesClick or tap to expand
- #
SafetysafetySafetysafetysafetysafetysafetysafetyDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSafetyResult | NoneT::Hash[String, T.untyped]MessageTemplateSafetyResultView safety attributesClick or tap to expand
Email content safety result.- #
ContentHashcontent_hashContentHashcontentHashcontentHashcontent_hashcontent_hashcontentHashstringstringstringStringstringstr | NoneStringstringHash of the scanned content. - #
LinkslinksLinkslinkslinkslinkslinkslinksList<object?>array[]anyList<Object>list<mixed>list[ChimeEmailScannedLink] | NoneT::Array[T.untyped]MessageTemplateScannedLink[]View links attributesClick or tap to expand
Links found by the scan.- #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::EnumstringInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
NormalizedTextnormalized_textNormalizedTextnormalizedTextnormalizedTextnormalized_textnormalized_textnormalizedTextstringstringstringStringstringstr | NoneStringstringNormalized text used by the scan. - #
QuarantineNotesquarantine_notesQuarantineNotesquarantineNotesquarantineNotesquarantine_notesquarantine_notesquarantineNotesstring?string|null*stringString?stringstr | NoneT.nilable(String)stringQuarantine context, when available. - #
ReasonCodesreason_codesReasonCodesreasonCodesreasonCodesreason_codesreason_codesreasonCodesList<object?>array[]anyList<Object>list<mixed>list[str] | NoneT::Array[T.untyped]string[]Reasons for a non-allowed result. - #
SanitizedHtmlsanitized_htmlSanitizedHtmlsanitizedHtmlsanitizedHtmlsanitized_htmlsanitized_htmlsanitizedHtmlstring?string|null*stringString?stringstr | NoneT.nilable(String)stringSanitized HTML, when available. - #
StatusstatusStatusstatusstatusstatusstatusstatusenumenumstring enumenumstring enumLiteral['allowed', 'rejected', 'quarantined'] | NoneT::EnumContentSafetyStatusInttegro.ContentSafetyStatus.Allowed"allowed"messagetemplate.ContentSafetyStatusAllowedContentSafetyStatus.ALLOWED\Inttegro\Shared\ContentSafetyStatus::Allowedinttegro.shared.ContentSafetyStatus.ALLOWEDInttegro::Shared::ContentSafetyStatus::ALLOWEDInttegro.ContentSafetyStatuses.Allowed,Inttegro.ContentSafetyStatus.Rejected"rejected"messagetemplate.ContentSafetyStatusRejectedContentSafetyStatus.REJECTED\Inttegro\Shared\ContentSafetyStatus::Rejectedinttegro.shared.ContentSafetyStatus.REJECTEDInttegro::Shared::ContentSafetyStatus::REJECTEDInttegro.ContentSafetyStatuses.Rejected, orInttegro.ContentSafetyStatus.Quarantined"quarantined"messagetemplate.ContentSafetyStatusQuarantinedContentSafetyStatus.QUARANTINED\Inttegro\Shared\ContentSafetyStatus::Quarantinedinttegro.shared.ContentSafetyStatus.QUARANTINEDInttegro::Shared::ContentSafetyStatus::QUARANTINEDInttegro.ContentSafetyStatuses.Quarantined.
- #
SchemaschemaSchemaschemaschemaschemaschemaschemaDictionary<string, object?>objectmap[string]anyMap<String, Object>array<string, mixed>ChimeEmailSchemaMarkup | NoneT::Hash[String, T.untyped]JSONDataView schema attributesClick or tap to expand
Generated Schema.org markup.View json_ld detailsClick or tap to expand
Generated JSON-LD.
#
ErrorserrorsErrorserrorserrorserrorserrorserrorsList<ApiError>?array<object>[]ErrorList<BroadcastError>list<mixed>list[BroadcastError] | NoneT::Array[T.untyped]BroadcastError[]Per-recipient execution errors. Omitted when there are no errors.Click or tap to expand- #
ExecutedAtexecuted_atExecutedAtexecutedAtexecutedAtexecuted_atexecuted_atexecutedAtDateTimeOffset?timestamp*TimeOffsetDateTimeDateTimeImmutabledatetime | NoneTimeDate | nullWhen execution began. Omitted until execution.
- #
IdempotencyKeyidempotency_keyIdempotencyKeyidempotencyKeyidempotencyKeyidempotency_keyidempotency_keyidempotencyKeystringstringstringStringstringstr | NoneStringstringRequest key associated with the broadcast.
- #
RecipientsrecipientsRecipientsrecipientsrecipientsrecipientsrecipientsrecipientsList<string>?array[]stringList<String>list<mixed>list[str]T::Array[T.untyped]string[]requiredResolved destination addresses.
- #
SenderIdsender_idSenderIDsenderIdsenderIdsender_idsender_idsenderIdstring?stringstringStringstringstrStringstringrequiredSMS sender selected for the broadcast messages. For email, see
Email.Frombroadcast.email.fromEmail.Frombroadcast.email.frombroadcast.email.fromemail.frombroadcast.email.fromemail.from.
Request
curl https://api.inttegro.com/broadcasts/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"broadcast_id": "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.broadcasts.lookup({
broadcastId: "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Broadcasts.Lookup(ctx, "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.broadcasts.lookup("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->broadcasts->lookup("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.broadcasts.lookup(broadcast_id: "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.broadcasts().lookup("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Broadcasts.LookupAsync("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");{
"broadcast": {
"id": "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
"customer_ids": [
"cu_abc123def456"
],
"recipients": [
"customer@example.com",
"fallback@example.com",
"missing@example.com"
],
"content": "Your order #12345 has shipped! Track: https://track.shop.com/abc123",
"sender_id": "ShopName",
"purpose": "order_notification",
"send_after": "2030-12-15T09:00:00Z",
"created_at": "2030-12-15T09:00:00Z",
"executed_at": "2030-12-15T09:00:03Z",
"chime_ids": [
"ch_abc123xyz",
"ch_def456uvw"
],
"errors": [
{
"recipient": "missing@example.com",
"type": "invalid_email_address",
"fix_code": "provide_valid_email"
}
]
}
}Cancel a broadcast POST /broadcasts/cancel
Stop a broadcast that has not finished processing. Because delivery begins asynchronously, cancel as soon as possible; some recipients may already have received their Chimes.
Required attributes
Broadcast::CancelRequestv13.0.0TypeScript SDK requestCancelBroadcastRequestv15.0.0- #
BroadcastIdbroadcast_idBroadcastIDbroadcastIdbroadcastIdbroadcast_idbroadcast_idbroadcastIdstringstringstringStringstringstrStringstringrequiredThe broadcast ID to cancel. The broadcast must not be completed or already canceled.
CanceledAtbroadcast.canceled_atCanceledAtbroadcast.canceledAtbroadcast.canceledAtcanceled_atbroadcast.canceled_atcanceledAt with the recorded cancellation time.Request
curl https://api.inttegro.com/broadcasts/cancel \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-H "Idempotency-Key: cancel-broadcast-kPvqTrqGsopu07wf" \
-d '{
"broadcast_id": "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk"
}'import { InttegroClient } from '@inttegro/inttegro-sdk'
const inttegro = new InttegroClient({
apiKey: process.env.INTTEGRO_API_KEY!,
})
const result = await inttegro.broadcasts.cancel({
broadcastId: "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
})package main
import (
"context"
"log"
"os"
inttegro "github.com/inttegro/inttegro-sdk-go/v14"
)
func main() {
ctx := context.Background()
client := inttegro.NewClient(os.Getenv("INTTEGRO_API_KEY"))
result, err := client.Broadcasts.Cancel(ctx, "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
if err != nil {
log.Fatal(err)
}
_ = result
}import os
from inttegro import InttegroClient
client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])
result = client.broadcasts.cancel("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")<?php
use Inttegro\Client;
$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->broadcasts->cancel("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");require "inttegro"
client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.broadcasts.cancel(broadcast_id: "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")import com.inttegro.Client;
public class Example {
public static void main(String[] args) throws Exception {
var client = new Client(System.getenv("INTTEGRO_API_KEY"));
var result = client.broadcasts().cancel("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
}
}using Inttegro;
using var inttegro = new InttegroClient(
Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Broadcasts.CancelAsync("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");{
"broadcast": {
"id": "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk",
"recipients": [
"+233544998605",
"+233501234567"
],
"content": "Your order #12345 has shipped! Track: https://track.shop.com/abc123",
"sender_id": "ShopName",
"purpose": "order_notification",
"send_after": "2030-12-15T09:00:00Z",
"created_at": "2030-12-15T09:00:00Z",
"canceled_at": "2030-12-15T09:00:02Z"
}
}Stored message template references
Chime send, schedule, and broadcast requests can render a stored message template instead of accepting inline content. Use this shape when the content should come from a published reusable template:
{
"message_template": {
"template_id": "mtpl_receipt_ready",
"variables": {
"customer_name": "Gloria",
"receipt_url": "https://yourstore.example/receipts/or_123"
}
}
}MessageTemplate.TemplateIdmessage_template.template_idMessageTemplate.TemplateIDmessageTemplate.templateIdmessage_template.template_idmessage_template.template_idmessage_template.template_idmessageTemplate.templateId must identify a published template. Supply every required variable using the type defined by that template. SMS templates can send only to SMS recipients, and email templates can send only to email recipients.
Provide exactly one content source for the resolved transport. For SMS sends, use either FullMessagefull_messageFullMessagefullMessagefull_messagefull_messagefull_messagefullMessage or an SMS MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate. For email sends, use either EmailemailEmailemailemailemailemailemail or an email MessageTemplatemessage_templateMessageTemplatemessageTemplatemessage_templatemessage_templatemessage_templatemessageTemplate. Do not combine SMS content and email content in the same request. Schedules and broadcasts apply the equivalent rule to their own request types.
Use Render a message template preview before sending production campaigns when variable values come from user or catalog data.