SignalWire REST APIs support two authentication methods: Basic Authentication and Bearer Authentication. Each endpoint specifies which method it accepts.
Basic Authentication is the standard method for authenticating with SignalWire REST APIs, using your Project ID and API Token.
Include an Authorization header with each request:
To build the credentials string:
ProjectID:APITokenGiven the Project ID a1b2c3d4-e5f6-7890-abcd-ef1234567890 and API Token 4tjCGnmAeQ0hwFmFDhwfgww880X2lsnuR60VMyasGR3hFpSyvu:
Your Project ID and API Tokens are available in the SignalWire Dashboard.

Tokens can be scoped to limit API access. Select scopes when creating or editing a token in the Dashboard.
Getting a 401 Unauthorized?
Check that your token has the required scope.
Manage scopes in the SignalWire Dashboard.
Bearer Authentication passes a token in the Authorization header. Use this for client-side calls where you can’t safely expose your API credentials.
Include the token in an Authorization header:
Bearer tokens are short-lived and scoped to specific permissions, unlike API credentials which don’t expire.
SATs authenticate end users in Fabric applications, letting client apps make API calls on behalf of a subscriber.
How to obtain: Call the Create Subscriber Token endpoint using Basic Auth.
Use case: Client apps connecting to Fabric services, such as listing resource addresses.
Guest Tokens grant limited, temporary access without full subscriber privileges. They’re created from an existing SAT and restricted to specific Fabric addresses.
How to obtain: Call the Create Guest Embed Token endpoint using a SAT.
Use case: Click-to-call widgets, guest access, or anywhere you need temporary access.
Bearer tokens expire. Once they do, requests return 401 Unauthorized and you’ll need a fresh token.
To keep a session alive without re-authenticating, call the Refresh Subscriber Token endpoint before expiration.
With a SAT token: