Authentication

Almost all the REST API endpoints are protected with HTTP Basic Authentication. HTTP Basic Authentication requires you to send an Authorization header of your Project ID and Authentication Token. This should be supported in almost all HTTP clients.

curl https://example.signalwire.com/api/laml/2010-04-01/Accounts \
      -X GET \
      -u "YourProjectID:YourAuthToken"

Each project has its own Project ID and Authentication Tokens you will need to use when making each request to the API. You can find your Project ID and Authentication Tokens in your SignalWire Dashboard:

You can also create several API tokens for each of your projects. Click on the project you wish to create a token for, navigate to the API menu and create a new API token.