# Authenticate **POST /authentication** Authenticates a user from a username and password and return an access token. Use this access token in all requests to protected routes. ## Servers - https://example.com: https://example.com () ## Parameters ## Body parameters Content-type: application/json - **user_name** (string) The regex means: lowercase letters and numbers, separated by dashes, with no leading, trailing, or double dashes. - **password** (string) ## Responses ### 201: Created #### Body Parameters: (object) - **user_identifier** (string) - **access_token** (string) ### 400: Bad Request ### 401: Unauthorized ### 404: Not Found [Powered by Bump.sh](https://bump.sh)