Developer tools

Postman

Try every endpoint from BlueBot’s Postman collection before you write any code.

What you can do

  • Import BlueBot’s Postman collection and send your first text to yourself without writing code.
  • Try every endpoint with your own API key, such as sending a text or checking your Mac.
  • See how Idempotency-Key keeps a retried request from sending twice.

How it connects

  • API

    Your own code calls BlueBot’s REST API and listens to its signed webhooks.

    API in the docs

Recipes

Three recipes to start from.

Set one up as written, or change it to fit how you work. The docs have the same recipes step by step.
01With the API

Send yourself a first text

Starts when

You send a request from Postman

  1. Import BlueBot’s Postman collection and add your API key to the collection’s authorization.
  2. Open the request for POST /v1/messages and set the to field to your own number and the text field to a short message.
  3. Send it, then open GET /v1/messages/{id} with the id it returned to watch the state move from queued to sent to delivered.

The text it sends

Hello from Postman.

From your own number

02With the API

Check your Mac before you build

Starts when

You send a request from Postman

  1. Send GET /v1/device to see whether your Mac is online, when it last checked in and how many texts are held.
  2. Send GET /v1/lookup with a number to see whether it’s likely on iMessage, and on what basis.
03With the API

See that a retry never sends twice

Starts when

You send the same request twice

  1. Send POST /v1/messages with an Idempotency-Key header.
  2. Send the same request again with the same key, and BlueBot answers with the first message instead of sending another.
  3. Change the body but keep the key, and BlueBot answers 409 idempotency_conflict.

The text it sends

Testing a retry from Postman.

From your own number

Try BlueBot free for 7 days.

You need a card to start the trial. After 7 days it’s $17.99 a month plus any tax, and you can cancel from your billing page at any time.