Skip to main content
Wiretap Telecom

Developers

Two tokens and a POST.

Send a text from any number on your account. Every endpoint on these pages runs from the browser, against your own account, before you write a line of code.

Send a message
curl -X POST 'https://sms.wiretaptelecom.com/smsapis/SendSMS?apikey=YOUR_AUTH_TOKEN' \
  -H 'Authorization: Bearer YOUR_BEARER_TOKEN' \
  -H 'Content-Type: application/json' \
  -d '{
  "from": "14055551234",
  "to": [
    "13055551234",
    "18135551234"
  ],
  "text": "This is a test",
  "mediaUrls": [
    "https://wiretaptelecom.com/assets/img/logo.png"
  ],
  "referenceId": "iosd84ndi9"
}'

Before your first call

Three things to do in the portal.

1

Enable the number

In the portal, go to Core-SMS → Manage Numbers, click the plus sign, select the number you want to send from, and click Enable.

2

Register with TCR

Carriers block unregistered traffic. Submit the Core-SMS → TCR Form and read 10DLC registration and TCR before you start.

3

Generate your keys

Hover your avatar, open Company Settings → API Keys, and copy both the auth token and the bearer token. You need both on every call.

Authentication

Both tokens, every time.

The portal issues two values on the same screen and they are not interchangeable. One rides in the header, the other in the query string. A call missing either one is rejected.

Base URL https://sms.wiretaptelecom.com/smsapis

Bearer token

The Bearer Token from Company Settings → API Keys, sent as Authorization: Bearer <token>.

Auth token

The Auth Token from the same screen, sent as the apikey query parameter. It is a distinct value from the bearer token.

Reference

Every endpoint we run.

Messaging

Send SMS and MMS, and receive replies on a webhook.

Building something we do not cover yet?

Messaging is the first API we have published and more are coming. Tell us what you need to automate and we will tell you where it sits on the list.