Skip to main content
Table of Contents

Authentication

Authentication

# HTTP basic authentication syntax using cURL

curl -u "YOUR_USERNAME:YOUR_ACCESS_KEY" https://api.browserstack.com/automate/<api_endpoint>

Automate API uses HTTP Basic Auth for authentication.

You need to pass your BrowserStack’s account credentials in each request. It helps us identify the account from which the API requests are made. BrowserStack’s account credentials include username and access-key.

You can view your account credentials from Automate Dashboard:

Account credentials

You can also view the credentials using Account Settings. In case you do not have your access credentials, sign up for a free trial or purchase a plan.

We're sorry to hear that. Please share your feedback so we can do better

Contact our Support team for immediate help while we work on improving our docs.

We're continuously improving our docs. We'd love to know what you liked






Thank you for your valuable feedback