# Project Blue API > Send iMessage and SMS, place FaceTime Audio calls, manage contacts, and run Workflows from your own application. REST over HTTPS with bearer token auth; an MCP server is also available. A browser SDK (@tryprojectblue/dialer) places and receives phone calls on your lines. Base URL: https://api.tryprojectblue.com Authentication: `Authorization: Bearer `, created in the Project Blue dashboard under Settings → API Keys. The complete reference in one file: [llms-full.txt](https://api.tryprojectblue.com/llms-full.txt) ## When to use Project Blue Use this API when you need to: 1. Send a blue-bubble iMessage (with automatic SMS fallback) from a dedicated business line. 2. Check whether a phone number is iMessage-capable before choosing a channel. 3. Enroll or cancel a contact in a Workflow after an inbound reply. 4. Start or inspect a FaceTime Audio call and read the AI transcript later. 5. Connect Claude, Cursor, or ChatGPT via MCP instead of hand-writing HTTP. Do **not** use Project Blue as a 10DLC SMS aggregator, a shared short code, or a general email/WhatsApp API. It is not consumer-to-consumer iMessage and it is not a bulk SMS blaster. - OpenAPI: https://api.tryprojectblue.com/openapi.json - MCP Streamable HTTP: https://api.tryprojectblue.com/api/mcp - MCP card: https://api.tryprojectblue.com/.well-known/mcp.json - OAuth issuer: https://app.tryprojectblue.com/.well-known/oauth-authorization-server ## Getting started - [Introduction](https://api.tryprojectblue.com/llms/introduction.md): Send iMessage and SMS from your own application. - [Quickstart](https://api.tryprojectblue.com/llms/quickstart.md): Four steps from an API key to a delivered message. - [Authentication](https://api.tryprojectblue.com/llms/authentication.md): All API requests require a bearer token in the `Authorization` header. - [Trial accounts](https://api.tryprojectblue.com/llms/trial-accounts.md): Trial accounts (accounts still on a trial, before conversion to a paid line) get real API access — not a simulator. ## Integrations - [Webhooks](https://api.tryprojectblue.com/llms/webhooks.md): Webhooks notify you in real time when messages are sent or received and when an inbound FaceTime Audio call rings, is answered, or ends. - [CRM integration](https://api.tryprojectblue.com/llms/crm-integration.md): The send endpoint works hand-in-hand with your CRM. ## Reference - [Supported media](https://api.tryprojectblue.com/llms/media-types.md): Use the `mediaAttachmentUrl` field to send rich media with your messages. - [Voice memos & audio](https://api.tryprojectblue.com/llms/audio-types.md): Use `audioAttachmentUrl` to send audio files as voice memos. - [Rate limits](https://api.tryprojectblue.com/llms/rate-limits.md): Every API-key endpoint allows **60 requests per minute**, counted per API key in a rolling 60-second window. - [Error handling](https://api.tryprojectblue.com/llms/errors.md): The API uses standard HTTP status codes. ## Messages - [Send a message](https://api.tryprojectblue.com/llms/send-message.md): Send a message to a phone number via iMessage or SMS. - [List messages](https://api.tryprojectblue.com/llms/list-messages.md): Returns a paginated list of the authenticated user's messages — outbound and inbound merged into a single feed. - [Get a message](https://api.tryprojectblue.com/llms/get-message.md): Fetch a single message by its opaque `message_handle` (as returned from `/get-messages-api`). - [Send a group message](https://api.tryprojectblue.com/llms/send-group-message.md): Send an iMessage or SMS to a group of 2 to 32 recipients. - [Typing indicators](https://api.tryprojectblue.com/llms/send-typing-indicator.md): Show the iMessage typing indicator (the three dots) to a recipient. - [Reactions (Tapbacks)](https://api.tryprojectblue.com/llms/send-reaction.md): React to a specific message with one of the six standard iMessage tapbacks. - [List effects](https://api.tryprojectblue.com/llms/get-effects.md): List the iMessage send effects accepted by `effect` on `/send-api-message`. ## Regular phone calls - [Voice Calling SDK](https://api.tryprojectblue.com/llms/dialer-sdk.md): Place and receive calls on your Project Blue lines from your own web app with `@tryprojectblue/dialer`. - [Mint a token](https://api.tryprojectblue.com/llms/dialer-token.md): Exchange your API key for a 15-minute voice token pinned to one line. - [The dialer session](https://api.tryprojectblue.com/llms/dialer-session.md): It runs whenever the SDK needs a token: at `start()`, about a minute before the current token expires, and before a token has been used for its tenth call. - [Place & receive calls](https://api.tryprojectblue.com/llms/dialer-call.md): A `DialerCall` is one call. - [Errors & limits](https://api.tryprojectblue.com/llms/dialer-errors.md): Every rejection from the SDK is a `DialerError` with a stable `code`, the HTTP `status` of the mint response when there was one, and the original `cause`. - [Call logs](https://api.tryprojectblue.com/llms/call-logs.md): Returns the authenticated user's dialer call logs, inbound and outbound, including a `recording_url` when a recording is available. ## FaceTime Audio - [Start a call](https://api.tryprojectblue.com/llms/facetime.md): Initiate real FaceTime Audio calls programmatically and connect to the live call audio via WebRTC using Agora's SDK. - [Call status](https://api.tryprojectblue.com/llms/facetime-status.md): Status is driven by call lifecycle events. - [End a call](https://api.tryprojectblue.com/llms/facetime-end.md): curl -X POST https://api.tryprojectblue.com/end-facetime-call-api \ -H "Authorization: Bearer YOUR_API_KEY" \ -H "Content-Type: application/json" \ -d '{ "call_uuid": "ftc_8a2b1c3d4e5f6g7h" }' // Run - [Inbound calls](https://api.tryprojectblue.com/llms/facetime-inbound.md): If you are building your own CRM or softphone, you can receive inbound FaceTime Audio calls on your lines, show a ring screen, and answer or decline from your own UI. ## Phone numbers - [Get lines](https://api.tryprojectblue.com/llms/get-lines.md): Fetch all sending lines available to your account. - [Request lines](https://api.tryprojectblue.com/llms/request-line.md): Ask the Project Blue team for new lines in an area code. - [Check iMessage](https://api.tryprojectblue.com/llms/check-imessage.md): Check whether a phone number is reachable via iMessage before sending. ## Contacts - [Create a contact](https://api.tryprojectblue.com/llms/external-contacts.md): External contacts are Project Blue's native contact store for accounts **without a connected CRM**. - [List contacts](https://api.tryprojectblue.com/llms/list-contacts.md): Returns the authenticated user's external contacts, newest first, with pagination. - [Update a contact](https://api.tryprojectblue.com/llms/update-contact.md): Updates an existing contact's name, email, note, or custom metadata. ## Contact cards - [Set a contact card](https://api.tryprojectblue.com/llms/set-contact-card.md): A contact card is the name and photo recipients see at the top of a conversation with one of your lines — the iMessage “Share Name and Photo” identity. - [Get a contact card](https://api.tryprojectblue.com/llms/get-contact-card.md): Returns the card Project Blue stored for the line and, read live, what Messages on the line currently holds. - [Share a contact card](https://api.tryprojectblue.com/llms/share-contact-card.md): Sends the line's saved name and photo into an existing 1:1 conversation, so Messages on the recipient's side offers to update the contact. ## Workflows - [List flows](https://api.tryprojectblue.com/llms/workflows.md): Workflows are automation flows built in the Project Blue app — send a message, wait, branch on a reply, and so on. - [Enroll a contact](https://api.tryprojectblue.com/llms/enroll-flow.md): Starts a Workflow run for the given contact or group. - [Cancel flow runs](https://api.tryprojectblue.com/llms/cancel-flow-runs.md): Cancels all active Workflow runs for the given contact or group. ## AI tools - [MCP server & skill](https://api.tryprojectblue.com/llms/mcp.md): Working with an AI assistant? Connect it here first — this is the fastest way to send a message, and there is no API key to paste.