Skip to main content

Overview

Gets information about the currently logged in account. The account does not need to be enabled for this resource to return information about the account. The information will be somewhat restricted if the account is not enabled.

HTTP request

POST /Agent/Account/Info

Authentication

Requires a valid JWT bearer token.

Request (JSON)

{
}

Response (JSON)

{
	"userName": Required(Str(PUserName)),
	"created": Required(DateTime(PCreated)),
	"updated": Optional(DateTime(PUpdated)),
	"eMail": Optional(Str(PEMail)),
	"eMailVerified": Optional(DateTime(PEMailVerified)),
	"phoneNr": Optional(Str(PPhoneNr)),
	"phoneNrVerified": Optional(DateTime(PPhoneNrVerified))
}

Response parameters

ParameterDescription
PUserNameUser name of currently logged in account.
PCreatedWhen account was created.
PEMailValidated e-mail address associated with account. Empty string if none, or null if the account is not enabled.
PEMailVerifiedWhen the e-mail address was verified. If the e-mail address has not been verified, this property will return null.
PPhoneNrValidated phone number associated with account. Empty string if none, or null if the account is not enabled.
PPhoneNrVerifiedWhen the phone number was verified. If the phone number has not been verified, this property will return null.

Notes

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