# POST /api/v1/login is deprecated

BambooHR API deprecated POST /api/v1/login without giving a shutdown date yet.

- API: BambooHR API (*.bamboohr.com)
- Kind: Endpoint removal
- Announced: May 12, 2025
- Takes effect: no date given yet
- Calls after that day: fail
- Calls it hits: `POST /api/v1/login`
- Source: [Announcement](https://documentation.bamboohr.com/docs/past-changes-to-the-api)
- Page: https://www.okapi.bot/providers/bamboohr-api/breaking-changes/post-api-v1-login-is-deprecated/

## What to use instead

Authenticate with OAuth 2.0 (an app registered on developers.bamboohr.com, authorize.php and token.php on the company's domain) instead of generating API keys through /api/v1/login.

## BambooHR API's words

> We marked POST /api/v1/login as deprecated in our OpenAPI documentation and added guidance recommending OAuth 2.0 for new integrations.
