---
title: "Userid and password login using GET operation"
method: GET
path: "/login/v1/basicauth"
tags: ["Login service"]
---

# Userid and password login using GET operation

`GET /login/v1/basicauth`

Performs basic authentication using Acoustic ID credentials. The API responds with authentication token (set in the cookie) and tenant information in the response header x-ibm-dx-tenant-id/x-cms-tenant-id. If no tenant for the user is found, the authentication fails presenting a HTTP404 error.
You can also use API key generated by MyAcoustic page, in which case username is AcousticAPIKey while generating the Base64 encoded Authorization header.<br />User roles: admin, manager, editor, viewer, authenticatedVisitor, anonymous

## Query parameters

- `accept-privacy-notice` string

## Headers

- `Authorization` string, required

## Response `200`

Success for login.

- object[] — The list of available tenants for the authenticated user
  - `baseUrl` string — The baseUrl to call the services
  - `tenantId` string — The tenantId of the available tenant

## Other responses

- `401` — Authentication failed with credentials (incorrect or missing)
- `403` — Access forbidden (e.g. no access to tenant or enterprise federation)
- `404` — Tenant not found
- `412` — Precondition Failed for credentials (incorrect format or missing)
- `423` — The tenant is locked
- `429` — Too Many Requests, the server has reached a limit, the request must be sent again at a later time.
- `503` — Downstream service not available (e.g. Acoustic ID)

---

[API](https://skmtc.net/goacoustic/apis/acoustic-content-api.md) · [All operations](https://skmtc.net/goacoustic/apis/acoustic-content-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/goacoustic/acoustic-content-api/versions/677305266d89/schema)
