Skip to main content

Overview

Allows the client to authenticate itself with the API using a Quick-Login performed in the current HTTP session. This method is an alternative to the Login and WWW Login resources. Note: To be able to access the current session, cookies must be enabled. Note 2: It is assumed the Agent API account resides on the same broker. The Agent API is an HTTP REST API for using an XMPP account on an XMPP broker. Once you have made a Quick-Login in a broker, you can use the Remote quick login resource to perform session logins on other brokers using the Quick-Login on the current broker. If authentication succeeds, a JSON Web Token (or JWT) is returned to the client. This token can be used as a Bearer token in subsequent calls to the API. It needs to be refreshed before it expires.

HTTP request

POST /Agent/Account/QuickLogin

Authentication

No authentication required.

Request (JSON)

Input parameters

Response (JSON)

Response parameters

Notes

This endpoint uses the request schema notation described in Pattern matching.