get
/v4/WebToken
To obtain a JWT, your Security Center credentials are passed in the Authorization header of the GET /WebToken endpoint using Basic Authentication. If authentication is successful, a JWT is returned for use with other endpoints.
If you already subscribed to notifications by opening a connection on the /Notifications endpoint, you can refresh the JWT for that connection by authenticating on this endpoint.
This endpoint expects credentials to be provided as **
All endpoints in the Web API require a valid JSON Web Token (JWT) to authorize the action. To successfully process the transaction, each endpoint requires the authenticated user to have the necessary privileges.
CURL
curl -X GET \
-H "Accept: application/json" -H "authorization: authorization_example" -H "clientId: clientId_example" \
"http://localhost/v4/WebToken"
Request headers
authorization
required
String
"Basic dXNlcjpwYXNz" (Replace dXNlcjpwYXNz with your Base64 credentials.)
Example:
authorization_example
clientId
optional
String
Unique identifier for the client session.
Example:
clientId_example
Responses