cURL
curl --request POST \ --url https://v2.api.uk.housr.com/auth/token \ --header 'Authorization: Basic <encoded-value>' \ --header 'Content-Type: application/json' \ --data '{}'
{ "access_token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IkpvaG4gRG9lIiwiaWF0IjoxNTE2MjM5MDIyfQ.SflKxwRJSMeKKF2QT4fwpMeJf36POk6yJV_adQssw5c", "expires_at": "2024-01-15T14:30:00Z" }
Issue a short-lived bearer token for API authentication. The token expires after 1 hour and provides access to the Housr API based on your client credentials and associated scopes.
Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Basic <encoded-value>
<encoded-value>
username:password
The body is of type object.
object
Token issued