logoBack to home screen

Authenticating to ADx via REST

To authenticate, send a request to the https://host:port/tribefire-services/api/v1/authenticate endpoint.

Request typeService descriptionEndpointRequest query parametersForm dataReturns
POSTGet session IDhttps://host:port/tribefire-services/api/v1/authenticateuser, passwordnonesessionId

Parameters

ParameterData typeDescription
userstringuser name used for authentication
passwordstringpassword used for authorization
sessionIdstringsessionId getting returned

cURL Example

The request shown below will return a session ID from https://adx-local:8443. user and password are passed in the request body.

curl --location --request POST 'https://adx-local:9080/tribefire-services/api/v1/authenticate?user=cortex&password=cortex' \
--header 'Content-Type: application/json'