Platform API Authorization and Authentication

Although the WebTMA Platform API uses Swagger, a certain amount of setup is needed in both the WebTMA application as well as Swagger.

Authorization with API Role 

api_user_management.png
 
Path: Admin > User Management > Records

Authentication with Bearer Token

Most endpoints in the Platform API require authentication. The Platform API uses bearer token authentication.

Obtain a Token

There are many methods of interacting with an API. Two common API tools that facilitate this interaction are:

  • curl (https://curl.se), a command line tool (free)
  • Postman (https://www.postman.com), a browser or native app (paid with a free tier)
SwaggerUsers.png

Using your API tool, obtain a bearer token by making a POST request to `DOMAIN/v2/Users/Authenticate` (as further specified in the Swagger documentation).

NOTE: If your username contains a backslash (e.g. `[YOUR_DOMAIN] \john.smith`), JSON requires that you escape the backslash using a double backslash. For example, `[YOUR_DOMAIN]/john.smith` will become '[YOUR_DOMAIN]//john.smith`.

Was this article helpful?
0 out of 1 found this helpful

Articles in this section

Announcing WebTMA + Workday Integration
To Learn More, Click Here!
2026 Webinar Training Schedule - Register now!
See the full list of web training events.
TMA Systems - TMA Connect 2026 Registration
Register Now by clicking here!