Skip to main content

Generate a new API Token

POST 

https://YOUR_SPACE.signalwire.com/api/laml/2010-04-01/Accounts/:AccountSid/tokens

Generate an API Token for a project to be used to authenticate requests within the project.

Request

Responses

OK

Authorization: http

name: basic_authtype: httpscheme: basic

Request Collapse all
Base URL
https://YOUR_SPACE.signalwire.com/api/laml/2010-04-01
Auth
Parameters
— pathrequired
Body required
{
  "name": "John Doe's Token",
  "permissions": [
    "calling",
    "fax",
    "messaging"
  ],
  "subproject_id": "9a7fc048-984f-11ee-b9d1-0242ac120002"
}
ResponseClear

Click the Send API Request button above and see the response here!