Hosted SIM API

Authentication

Every request goes over https and uses HTTP Basic auth. Plain http (port 80) answers 400 "use https" and is never redirected, so a request sent in the clear is never carried out. Use either:

What to expect

Console keys

Each account also has one API key of kind console. It can only read, and change phone-number settings: any other request with it answers 403, 20403.

Keep the AuthToken on your server

The API is server-to-server only and sends no CORS headers. Never put an AuthToken in a web page or a mobile app. Your AuthToken also signs every webhook we send you (see Webhooks).