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 Go with Blooio's official iMessage Go SDK. Idiomatic Go all the way down — context-aware requests, typed structs for every endpoint and webhook, zero third-party dependencies beyond the standard library, and a webhook verifier you can mount on any net/http handler.
One command to add the iMessage Go SDK to your project.
go get github.com/Blooio/blooio-go-sdk@latestThis is the smallest working example — authenticate with your Blooio API key, then call the send-message method on the client.
package main
import (
"context"
"log"
"os"
"github.com/Blooio/blooio-go-sdk/blooio"
)
func main() {
client := blooio.NewClient(os.Getenv("BLOOIO_API_KEY"))
_, err := client.Chats.SendMessage(context.Background(), &blooio.SendMessageRequest{
Phone: "+15551234567",
Body: "Hey Alex — thanks for booking a demo. Reply with any questions.",
})
if err != nil {
log.Fatalf("send failed: %v", err)
}
}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.
package main
import (
"encoding/json"
"io"
"log"
"net/http"
"github.com/Blooio/blooio-go-sdk/webhook"
)
func blooioHandler(w http.ResponseWriter, r *http.Request) {
body, _ := io.ReadAll(r.Body)
sig := r.Header.Get("X-Blooio-Signature")
event, err := webhook.Verify(body, sig, "whsec_...")
if err != nil {
http.Error(w, "bad signature", http.StatusUnauthorized)
return
}
if event.Type == "message.received" {
var data struct {
Body string `json:"body"`
}
_ = json.Unmarshal(event.Data, &data)
log.Printf("inbound: %s", data.Body)
}
w.WriteHeader(http.StatusOK)
}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