Skip to content
Maua.Culturewire

Sauce Labs

Cloud testing: jobs, builds, users and devices

Developer toolsCatalog1 tool · 0 triggers

Managed auth

Authentication

Methods your end users can connect with. Credentials are stored encrypted, and secret values are never shown again or returned by the API.

  • API key

    Your users enter

    • Sauce Labs usernameRequired
    • Access keySecretRequired
    • Data centerOptionalIdentifier3 choices

    Where to find them

    1. In Sauce Labs open your account → “User Settings”.
    2. Copy your username and the “Access Key”.
    3. Choose the data center of your account here.

    Get credentials (opens in a new tab)

Tools (1)

  • Sauce Labs API requestSAUCELABS_SEND_REQUEST

    Authenticated call to the Sauce Labs API (https://{server}). Any endpoint of the API is allowed. Examples: GET /rest/v1/{username}/jobs?limit=20, GET /rest/v1/{username}/jobs/{jobId}, GET /v2/builds/vdc/?limit=20, GET /v1/rdc/devices/available, GET /team-management/v1/users/, GET /rest/v1.2/users/{username}/concurrency.

    Required scopes

    No scopes required

    Input

    Sauce Labs API request input
    NameTypeDescription
    methodstringHTTP methodOne of: GET, POST, PUT, PATCH, DELETEDefault: "GET"
    pathrequiredstringPath relative to the API base URL, or a full URL on the same API (e.g. a next-page link)
    queryobjectQuery string parameters
    bodyunknownJSON body
    formobjectBody as application/x-www-form-urlencoded instead of JSON
    body_base64stringBinary body, base64 (at most 960000 characters)
    content_typestringContent-Type of body_base64
    headersobjectExtra headers such as Accept. Authentication is added automatically.