# \[#1331\] Failure to obtain auth token

**URL:** https://tech-support.simplybook.me/t/1331-failure-to-obtain-auth-token/1331
**Category:** Bug Reports
**Tags:** migrated, redmine-1331
**Created:** [December 5, 2024, 9:55am UTC](https://tech-support.simplybook.me/t/1331-failure-to-obtain-auth-token/1331 "2024-12-05T09:55:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [December 5, 2024, 9:55am UTC](https://tech-support.simplybook.me/t/1331-failure-to-obtain-auth-token/1331/1 "2024-12-05T09:55:16Z")

</div>

**Migrated from Redmine #1331** | _Author: Linda Cz_  
_Status: New | Priority: High, I’m very impatient | Created: 2024-12-05_

* * *

Hi, I’m using the following HTTP request to get the auth token

POST [https://user-api-v2.simplybook.me/admin/auth](https://user-api-v2.simplybook.me/admin/auth)  
Content-Type: application/json

{  
“company”: “myCompany”,  
“login”: “myAdminUser”,  
“password”: “myAdminUserPassword”  
}

I have tried all company names I’ve been given by our Account Manager or SimplyBook’s customer service team, none of them work

mycompany =\> 404: page not found  
mycompany.secure.simplybook.cc =\> invalid company  
mycompany.simplybook.cc =\> invalid company

Thanks in advance for your help

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [December 5, 2024, 10:22am UTC](https://tech-support.simplybook.me/t/1331-failure-to-obtain-auth-token/1331/2 "2024-12-05T10:22:36Z")

</div>

**Redmine Admin** wrote:

you need to use [https://user-api-v2.simplybook.cc/admin/auth](https://user-api-v2.simplybook.cc/admin/auth) endpoint

---

<div class="post-metadata">

### Author: ![system](https://tech-support.simplybook.me/uploads/default/original/1X/faedac32116409149d0a20d900b3047df01a4ad0.png) [@system](https://tech-support.simplybook.me/u/system)
#### Post date: [December 5, 2024, 10:41am UTC](https://tech-support.simplybook.me/t/1331-failure-to-obtain-auth-token/1331/3 "2024-12-05T10:41:11Z")

</div>

**Linda Cz** wrote:

Great - that worked, thank you! 🙂  
Presumably that applies to all endpoints so SimplyBookMe would need to update the API documentation to reflect the correct endpoints.
