Inbound
Reply-only number for AI agents
- Built for AI agents
- Real-time inbound webhooks
- Receive unlimited messages⁴
- Reply to anyone who messages you first
- Full API access
- Dedicated phone number
- Cannot initiate new conversations
Send and receive iMessages from the JVM with Blooio's official iMessage Java SDK. Published to Maven Central, works with Java 17+ and Kotlin, ships with a fluent builder API, Jackson-based typed models, and a Spring Boot–friendly webhook verifier you can drop into any controller.
One command to add the iMessage Java SDK to your project.
// Gradle (Kotlin DSL)
dependencies {
implementation("com.blooio:blooio-sdk:latest.release")
}
// Maven
<dependency>
<groupId>com.blooio</groupId>
<artifactId>blooio-sdk</artifactId>
<version>LATEST</version>
</dependency>This is the smallest working example — authenticate with your Blooio API key, then call the send-message method on the client.
import com.blooio.Blooio;
import com.blooio.model.SendMessageRequest;
public class Sender {
public static void main(String[] args) throws Exception {
Blooio blooio = Blooio.builder()
.apiKey(System.getenv("BLOOIO_API_KEY"))
.build();
blooio.chats().sendMessage(SendMessageRequest.builder()
.phone("+15551234567")
.body("Hey Alex — thanks for booking a demo. Reply with any questions.")
.build());
}
}Every inbound iMessage, delivery, read, and reaction event is POSTed to your webhook URL. Use the SDK's signature verifier to reject forged requests and deserialize the payload into typed objects.
@RestController
@RequestMapping("/webhooks")
public class BlooioWebhookController {
private final WebhookVerifier verifier =
new WebhookVerifier(System.getenv("BLOOIO_WEBHOOK_SECRET"));
@PostMapping(value = "/blooio", consumes = MediaType.APPLICATION_JSON_VALUE)
public ResponseEntity<Void> handle(
@RequestHeader("X-Blooio-Signature") String signature,
@RequestBody byte[] body
) {
try {
BlooioEvent event = verifier.verify(body, signature);
if ("message.received".equals(event.type())) {
MessageReceived data = event.dataAs(MessageReceived.class);
log.info("inbound iMessage: {}", data.body());
}
} catch (InvalidSignatureException e) {
return ResponseEntity.status(HttpStatus.UNAUTHORIZED).build();
}
return ResponseEntity.ok().build();
}
}6 lines → $195/line
Choose the plan that fits your volume and scale as you grow.
Reply-only number for AI agents
Maximum scale with tiered pricing
Number of lines
Save more as you scale. Best value: 6+ lines → $195/line
Reply-only number for AI agents
Maximum scale with tiered pricing
Number of lines
Save more as you scale. Best value: 6+ lines → $195/line
Need a hands-on implementation? Let our team build it for you.
Step-by-step guide to sending iMessages via API from your application.
Read guideSend and receive business iMessages at scale with the Blooio API — higher open rates than SMS or email.
Read guideCreate automated iMessage bots for customer support, sales, and notifications.
Read guide