sendblue-api
Qué hace
Esta herramienta permite que los programas envíen y reciban mensajes de texto (SMS, iMessage y RCS) usando un número de teléfono. Puedes enviar mensajes individuales o a grupos, añadir efectos especiales y reacciones, e incluso saber cuándo alguien está escribiendo.
Cuándo usarla
- ✓Cuando una aplicación necesita enviar notificaciones por SMS.
- ✓Para crear un chatbot que responda a mensajes de texto.
- ✓Para integrar el envío de mensajes en un sistema más grande.
Link de la skill
https://github.com/sickn33/agentic-awesome-skills/blob/main/skills/sendblue/sendblue-api/SKILL.mdCópialo y pégalo en tu IA (Claude, ChatGPT o Cursor) pidiéndole que siga las instrucciones.
Cómo usar
La forma más fácil: copia el mensaje y pégalo en tu IA. Ella lee la skill y sigue las instrucciones.
Mensaje listo para pegar
Para Claude Code, Codex o Cursor: ejecútalo en la carpeta del proyecto y la skill queda instalada.
Descarga el SKILL.md y ponlo en la carpeta de skills de tu agente.
Ejemplo de qué pedirle a la IA
“Envía un mensaje de texto con un efecto especial a un amigo.”
5 skills nuevas por semana. 1 minuto de lectura.
Cómo funciona
Tu programa envía una petición a la API de Sendblue con los datos del mensaje (a quién, qué decir, etc.). Sendblue se encarga de enviarlo a través del número de teléfono configurado.
Contenido técnico (SKILL.md original)
Texto original del autor, en inglés, directo de GitHub.
Sendblue API
Overview
Sendblue is a REST API that sends iMessage (blue bubbles), SMS, and RCS from a provisioned phone number. Everything is plain JSON over HTTPS — no SDK is required. The API covers outbound 1:1 and group sends, iMessage effects, reactions, typing indicators, status callbacks, and inbound webhooks.
When to Use This Skill
- Use when writing application code (server, worker, function) that sends Sendblue messages as part of a long-running service.
- Use when receiving inbound messages via webhooks.
- Use when you need features the CLI does not expose: send styles, reactions, group messages, typing indicators, status callbacks, media uploads, or the contacts API beyond basic CRUD.
- Reach for [[sendblue-cli]] instead for shell-context outbound: one-shot scripts, cron jobs, agent hooks, "ping me when X" workflows.
How It Works
Step 1: Authenticate
https://api.sendblue.com
Every request needs two headers:
sb-api-key-id: <YOUR_API_KEY_ID>
sb-api-secret-key: <YOUR_API_SECRET>
Content-Type: application/json
Keep both values server-side — never ship them to a browser or mobile client.
Step 2: Send a message
curl -X POST https://api.sendblue.com/api/send-message \
-H "sb-api-key-id: $KEY_ID" \
-H "sb-api-secret-key: $SECRET" \
-H 'Content-Type: application/json' \
-d '{
"number": "+15551234567",
"from_number": "+1YOUR_SENDBLUE_NUMBER",
"content": "Hello from the API!"
}'
Phone numbers must be E.164. from_number must be a line you own — list yours with GET /api/lines.
Step 3: Track delivery
The synchronous response includes a message_handle (Apple GUID — persist this; you need it for reactions and replies) and a status from REGISTERED, PENDING, QUEUED, ACCEPTED, SENT, DELIVERED, DECLINED, ERROR. Only DELIVERED means it landed. Use status_callback instead of polling /api/status.
Step 4: Receive inbound
Configure webhook URLs in the dashboard or via POST /api/account/webhooks. Sendblue POSTs JSON to your endpoint. Respond with 2xx promptly — non-2xx triggers retries and duplicate deliveries. Event types: receive, outbound, typing_indicator, call_log, line_blocked, line_assigned, contact_created.
Core Endpoints
| Method | Path | Purpose |
|---|---|---|
| POST | /api/send-message |
Send a 1:1 message (text and/or media) |
| POST | /api/send-group-message |
Send to multiple recipients |
| POST | /api/create-group |
Create a named group thread |
| POST | /api/send-reaction |
Send a tapback (love/like/dislike/laugh/emphasize/question) |
| POST | /api/send-typing-indicator |
Show "typing…" in the recipient's thread |
| POST | /api/mark-read |
Send a read receipt |
| POST | /api/upload-file / /api/upload-media-object |
Upload media (direct or from URL) |
| GET | /api/status |
Poll a message's delivery status |
| GET | /api/evaluate-service |
Check whether a number is on iMessage |
| GET | /api/v2/messages / /api/v2/messages/:id |
Read message history |
| GET / POST / PUT / DELETE | /api/v2/contacts[...] |
Manage contacts |
| GET | /api/lines |
List your Sendblue phone numbers |
| POST | /api/account/webhooks |
CRUD webhook subscriptions |
Examples
Example 1: Send with media, effects, and a status callback
POST /api/send-message
{
"number": "+15551234567",
"from_number": "+1YOUR_SENDBLUE_NUMBER",
"content": "Optional text",
"media_url": "https://example.com/img.jpg",
"send_style": "celebration",
"status_callback": "https://yourapp.com/sendblue/status"
}
content and/or media_url is required. send_style is iMessage-only — valid values: celebration, shooting_star, fireworks, lasers, love, confetti, balloons, spotlight, echo, invisible, gentle, loud, slam. Ignored on SMS. Text up to 18,996 chars; media up to 100 MB on iMessage, 5 MB on SMS.
Example 2: Group message
POST /api/send-group-message
{
"numbers": ["+15551234567", "+15557654321"],
"from_number": "+1YOUR_SENDBLUE_NUMBER",
"content": "Hey team"
}
The response returns a group_id — persist it to send follow-ups into the same thread instead of creating a new one each time.
Example 3: React to a message
POST /api/send-reaction
{
"from_number": "+1YOUR_SENDBLUE_NUMBER",
"message_handle": "<message_handle from prior send>",
"reaction": "love"
}
…
Preguntas frecuentes
¿Qué son iMessage, SMS y RCS?
Son distintas formas de enviar mensajes. iMessage es de Apple (burbujas azules), SMS es el mensaje de texto tradicional y RCS es una versión más moderna del SMS.
¿Qué son los "webhooks"?
Son como una "notificación" que Sendblue envía a tu programa cuando llega un mensaje nuevo o cuando un mensaje enviado se entrega.
¿Puedo enviar fotos y vídeos?
Sí, puedes enviar archivos multimedia como fotos y vídeos, aunque hay límites de tamaño que dependen de si es iMessage o SMS.
Detalles
Descripción original del autor
Send and receive iMessage, SMS, and RCS from application code via the Sendblue HTTP API — text, media, group messages, send styles, reactions, typing indicators, status callbacks, and inbound webhooks.
Popularidad
- Estrellas en GitHub
- 48 mil
- Posición en el ranking
- #6293
- Licencia
- MIT
- Actualizada
- 15/10/2026
Comentarios
- …
Más skills de este repositorio
00-andruia-consultant
48 milAyuda a tu agente a iniciar o mejorar proyectos de IA. Analiza código, sugiere herramientas y crea planes de acción en español.
007
48 milPermite que tu agente realice auditorías de seguridad y modelado de amenazas. Es útil para proteger proyectos contra ataques y vulnerabilidades.
10-andruia-skill-smith
48 milAyuda a tu agente a crear o mejorar herramientas de IA. Define cómo funcionan, escribe la documentación y valida la estructura.
20-andruia-niche-intelligence
48 milPermite que tu agente cree un resumen de un sector específico. Es útil para entender su contexto, normas, patrones de uso y riesgos, usando fuentes fiables.
Skills parecidas
api-connector-builder
280 milHace que tu agente cree nuevas conexiones de API siguiendo el patrón existente. Úsalo para añadir una integración más sin inventar otra forma de hacer las cosas.
api-design
280 milAyuda a tu agente a diseñar APIs REST según las buenas prácticas. Es útil para definir cómo se comunican las APIs, cómo se muestran los errores y cómo organizar los datos.
backend-patterns
280 milAyuda a tu agente con patrones de arquitectura del lado del servidor y optimización de bases de datos. Es útil para crear o revisar código que se ejecuta en el servidor.