Obtain a JSON Web Token to access the Mission Control™ Web API using your Security Center credentials. This user account must have the "Log on using the SDK" privilege.

Genetec Mission Control™ Web API

Content type
OpenAPI specifications
Product line
Mission Control
ft:locale
en-US
Applies to
Genetec Mission Control™ Web API
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 **:** in Base64 format. For example, to authenticate _user:pass_, you would provide _Basic dXNlcjpwYXNz_, where **dXNlcjpwYXNz** is the Base64 encoded value of **user:pass**.

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

Success

Body
Token
optional
String
ValidUntil
optional
Object
format: date-time
MillisecondsValid
optional
Integer
format: int32

The Web API was unable to process the request due to a client error (malformed request syntax).

The Directory endpoints were all unable to process the request.