# Authentication # Http token authentication > success > This is the preferred authentication method for restricted access API endpoints Use the token from your documentation settings in the HTTP token authorization header. # Basic authentication *(Deprecated)* Use the token from your documentation settings as the username of the basic auth, with no password. ## Example #     ``` curl \ -X GET https://bump.sh/api/v1/versions/1 \ -H "Authorization: Token $ACCESS_TOKEN" ``` #     ``` curl \ -X GET https://bump.sh/api/v1/versions/1 \ -u ":$ACCESS_TOKEN" ```