An API authentication token is required for all requests. Authentication tokens must be generated for each client through the FlowTraq command line tools. To request the token, send an HTTP request such as:

POST https://example.com/flowtraq/api/v1/auth

Parameter NameValueDefault ValueNotes
serverstring"localhost"The FlowTraq server address.
portnumber9640The FlowTraq server port.
usernamestring required Username of a user on the Flowtraq server.
passwordstring required Password of the Flowtraq server user.

The response will contain either the resulting auth token or an error message:

Parameter NameValueNotes
auth_tokenstringOnly returned if authentication successful.
errorstringOnly returned if authentication failed.