Authenticates a user to FusionAuth. This API optionally requires an API key. See <code>Application.loginConfiguration.requireAuthentication</code>.
post/api/login
Request
- Base URL: http://localhost:9011
- URL: http://localhost:9011/api/login
- Auth: API key in header Authorization
Headers
X-FusionAuth-TenantIdstring UUID
The unique Id of the tenant used to scope this API request. Only required when there is more than one tenant and the API key is not tenant-scoped.
Request body
Response
Success
Example response
{
"user": {
"preferredLanguages": [
"en_US"
],
"birthDate": "2007-12-03",
"timezone": "America/Denver",
"registrations": [
{
"preferredLanguages": [
"en_US"
],
"timezone": "America/Denver"
}
]
}
}Changes
No recorded changes to this operation across all 1 revision of this API.