Skip to content

Chimes

Send, schedule, and track customer notifications by SMS or email.

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

TypeScript SDK responseChimev15.0.0

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

Required attributes

TypeScript SDK requestSendChimeRequestv15.0.0

Optional attributes

TypeScript SDK requestSendChimeRequestv15.0.0

Email attributes

TypeScript SDK requestSendChimeRequestv15.0.0
  • #emailChimeEmailMessageInputInline email content. Required for email recipients unless you use messageTemplate.Click or tap to expand
    • #fromChimeEmailAddressrequired
      View from attributesClick or tap to expand
      Mailbox shown in the email From field.
      • #addressstringrequired
        Allowed sender email address.
      • #namestring
        Optional sender display name.
    • #headersMessageHeaders
      View headers detailsClick or tap to expand
      Additional email headers validated before delivery.
    • #htmlstring
      Optional HTML body checked before delivery.
    • #replyTostring
      Optional reply-to email address.
    • #subjectstringrequired
      Email subject.
    • #textstringrequired
      Plain-text body.
To send a Chime to a saved customer, pass recipient.customerId and choose which contact method to use:
{
  "recipient": {
    "customer_id": "cu_abc123def456",
    "transport": "sms"
  },
  "full_message": "Your order has shipped."
}
To send email to an inline address, set recipient.type to Inttegro.ChimeRecipientTypes.Email and include the top-level email 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"
}
To send with a stored template, use the generated template ID and keep variables inside the messageTemplate 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"
    }
  }
}
The examples below use the saved-customer shape. To address someone directly instead, replace recipient.transport and recipient.customerId with recipient.type and the matching inline phone or email details.

Request

POST/chimes/send
cURLbash
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"
}
}'
TypeScripttypescript
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",
  },
})
Gogo
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
}
Pythonpython
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",
  }),
))
PHPphp
<?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',
  ],
]);
Rubyruby
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",
  }
)
Javajava
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);
  }
}
C#csharp
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

TypeScript SDK requestLookupChimeRequestv15.0.0
  • #chimeIdstringrequired

    Unique identifier of the Chime to retrieve.

Request

POST/chimes/lookup
cURLbash
curl https://api.inttegro.com/chimes/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"chime_id": "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.chimes.lookup("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->chimes->lookup("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.chimes.lookup(chime_id: "ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU")
Javajava
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");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Chimes.LookupAsync("ch_WkPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYU");
Responsejson
{
  "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

TypeScript SDK requestPageChimesRequestv15.0.0
You can filter by recipient, customerId, both, or neither.The response size is the number of Chimes actually returned in chimes, not the requested page capacity.

Request

POST/chimes/page
cURLbash
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"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
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",
))
PHPphp
<?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',
]);
Rubyruby
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"
)
Javajava
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);
  }
}
C#csharp
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

Required attributes

TypeScript SDK requestScheduleChimeRequestv15.0.0

Optional attributes

TypeScript SDK requestScheduleChimeRequestv15.0.0

Response attributes

TypeScript SDK responseScheduledChimev15.0.0
To schedule for saved customers, include recipients with recipients[].customerId and recipients[].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"
  }
}
To schedule email for saved customers, set recipients[].transport to Inttegro.ChimeTransports.Email and provide the top-level email 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"
}
To schedule with a stored template, use the same messageTemplate 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

POST/chimes/schedule
cURLbash
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"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
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",
))
PHPphp
<?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',
]);
Rubyruby
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"
)
Javajava
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);
  }
}
C#csharp
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",
});
Responsejson
{
  "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

TypeScript SDK requestLookupScheduleRequestv15.0.0
  • #scheduleIdstringrequired

    The schedule ID returned when you created the scheduled Chime. Example: sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk.

Response attributes

TypeScript SDK responseScheduledChimev15.0.0

Request

POST/schedules/lookup
cURLbash
curl https://api.inttegro.com/schedules/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"schedule_id": "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.schedules.lookup("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->schedules->lookup("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.schedules.lookup(schedule_id: "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
Javajava
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");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Schedules.LookupAsync("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Responsejson
{
  "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

Stop a scheduled notification before delivery begins. Cancel it before sendAfter; once execution starts, some or all messages may already be on their way.

Required attributes

TypeScript SDK requestCancelScheduleRequestv15.0.0
  • #scheduleIdstringrequired

    The schedule ID to cancel. The schedule must not be completed or already canceled.

A successful response returns the same schedule lifecycle fields as Lookup a scheduled chime, plus canceledAt with the recorded cancellation time.

Request

POST/schedules/cancel
cURLbash
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"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.schedules.cancel("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->schedules->cancel("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.schedules.cancel(schedule_id: "sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
Javajava
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");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Schedules.CancelAsync("sch_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Responsejson
{
  "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 email content 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 sender when you do not want it to be empty; broadcasts do not apply a default sender.

Required attributes

TypeScript SDK requestBroadcastChimeRequestv15.0.0

Optional attributes

TypeScript SDK requestBroadcastChimeRequestv15.0.0

Response attributes

TypeScript SDK responseBroadcastv15.0.0
For SMS broadcasts, messageTemplate may be a raw SMS string for legacy inline content or an object with messageTemplate.templateId and messageTemplate.variables for stored templates. For email broadcasts, messageTemplate must be an object; raw string content is SMS-only.To broadcast to saved customers, include recipients with recipients[].customerId and recipients[].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"
  }
}
To broadcast an email-only campaign, use email recipients and provide the top-level email 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"
}
To broadcast with a stored template, pass messageTemplate 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

POST/chimes/broadcast
cURLbash
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"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
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",
))
PHPphp
<?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',
]);
Rubyruby
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"
)
Javajava
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);
  }
}
C#csharp
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",
});
Responsejson
{
  "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

TypeScript SDK requestLookupBroadcastRequestv15.0.0
  • #broadcastIdstringrequired

    The broadcast ID returned when you created the broadcast. Example: brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk.

Response attributes

TypeScript SDK responseBroadcastv15.0.0

Request

POST/broadcasts/lookup
cURLbash
curl https://api.inttegro.com/broadcasts/lookup \
-H "Authorization: Bearer $INTTEGRO_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"broadcast_id": "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.broadcasts.lookup("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->broadcasts->lookup("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.broadcasts.lookup(broadcast_id: "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
Javajava
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");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Broadcasts.LookupAsync("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Responsejson
{
  "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

TypeScript SDK requestCancelBroadcastRequestv15.0.0
  • #broadcastIdstringrequired

    The broadcast ID to cancel. The broadcast must not be completed or already canceled.

A successful response returns the same broadcast lifecycle fields as Lookup a broadcast, plus canceledAt with the recorded cancellation time.

Request

POST/broadcasts/cancel
cURLbash
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"
}'
TypeScripttypescript
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",
})
Gogo
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
}
Pythonpython
import os

from inttegro import InttegroClient

client = InttegroClient(api_key=os.environ["INTTEGRO_API_KEY"])

result = client.broadcasts.cancel("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
PHPphp
<?php

use Inttegro\Client;

$client = new Client($_ENV['INTTEGRO_API_KEY']);
$result = $client->broadcasts->cancel("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Rubyruby
require "inttegro"

client = Inttegro::Client.new(api_key: ENV.fetch("INTTEGRO_API_KEY"))
result = client.broadcasts.cancel(broadcast_id: "brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk")
Javajava
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");
  }
}
C#csharp
using Inttegro;

using var inttegro = new InttegroClient(
    Environment.GetEnvironmentVariable("INTTEGRO_API_KEY")!
);
var result = await inttegro.Broadcasts.CancelAsync("brc_kPvqTrqGsopu07wfC7ttoWqmfwt48ZW7BGvYUWk");
Responsejson
{
  "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.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 fullMessage or an SMS messageTemplate. For email sends, use either email or an email messageTemplate. 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.

Type to search…

↑↓ navigate↵ selectEsc close