# API - Remote User Login

**URL:** <https://forums.knack.com/t/api-remote-user-login/12735>\
**Category:** API & Custom Code\
**Created:** [June 30, 2022, 1:18am UTC](https://forums.knack.com/t/api-remote-user-login/12735 "2022-06-30T01:18:04Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gustavo](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@Gustavo](https://forums.knack.com/u/Gustavo)\
**Post date:** [June 30, 2022, 1:18am UTC](https://forums.knack.com/t/api-remote-user-login/12735/1 "2022-06-30T01:18:04Z")

</div>

Hello community.

I’m trying to log in a user remotely using the [API](https://docs.knack.com/docs/remote-user-logins), but I only get a 404 error, even calling from Postman.

 ![remote-login-error](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/f/f3f92ede70749288f5aa9b72ff78ef79ae567308.png)

I have checked the application ID and it is correct.  
Have I missed something?  
Is there any configuration to do in the application to allow remote logins?

---

<div class="post-metadata">

**Author:** ![Kelson](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/kelson/32/762_2.png) [@Kelson](https://forums.knack.com/u/Kelson)\
**Post date:** [June 30, 2022, 3:38am UTC](https://forums.knack.com/t/api-remote-user-login/12735/2 "2022-06-30T03:38:28Z")

</div>

Hello Gustavo,

Be sure that you are sending a JSON body. (nothing confidential in the image)

![image](https://us1.discourse-cdn.com/flex020/uploads/knack/original/2X/4/466a35c3ea0f4db553bf5eb7dc58f42a0d14d7ff.png)

---

<div class="post-metadata">

**Author:** ![Gustavo](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@Gustavo](https://forums.knack.com/u/Gustavo)\
**Post date:** [June 30, 2022, 3:54am UTC](https://forums.knack.com/t/api-remote-user-login/12735/3 "2022-06-30T03:54:00Z")

</div>

Hi Kelson,

Yes, I’m sending a JSON body as in your image, but the error is not about the body.  
The 404 error is “Page Not Found”, it’s like there no exist that API’s endpoint.

---

<div class="post-metadata">

**Author:** ![Kelson](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/kelson/32/762_2.png) [@Kelson](https://forums.knack.com/u/Kelson)\
**Post date:** [June 30, 2022, 4:05am UTC](https://forums.knack.com/t/api-remote-user-login/12735/4 "2022-06-30T04:05:00Z")

</div>

> [@Gustavo](#):
>
> ’s like there no exis

Are you on a private Knack server?

---

<div class="post-metadata">

**Author:** ![Gustavo](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@Gustavo](https://forums.knack.com/u/Gustavo)\
**Post date:** [June 30, 2022, 11:03pm UTC](https://forums.knack.com/t/api-remote-user-login/12735/5 "2022-06-30T23:03:44Z")

</div>

Yes, I’m on a private Knack server.  
Is there any setting to do to allow remote access?

---

<div class="post-metadata">

**Author:** ![JD\_Zappfy](https://avatars.discourse-cdn.com/v4/letter/j/d9b06d/32.png) [@JD\_Zappfy](https://forums.knack.com/u/JD_Zappfy)\
**Post date:** [June 30, 2022, 11:16pm UTC](https://forums.knack.com/t/api-remote-user-login/12735/6 "2022-06-30T23:16:36Z")

</div>

@Gustavo, your screenshot shows a “GET” request, not a “POST” request. @Kelson’s example is the correct method for creating a session remotely.

---

<div class="post-metadata">

**Author:** ![Kelson](https://sea2.discourse-cdn.com/flex020/user_avatar/forums.knack.com/kelson/32/762_2.png) [@Kelson](https://forums.knack.com/u/Kelson)\
**Post date:** [June 30, 2022, 11:17pm UTC](https://forums.knack.com/t/api-remote-user-login/12735/7 "2022-06-30T23:17:55Z")

</div>

You will have a different url in that case. Email me and I can help you get it.  
[Kelson@ksensetech.com](mailto:Kelson@ksensetech.com)

---

<div class="post-metadata">

**Author:** ![Gustavo](https://avatars.discourse-cdn.com/v4/letter/g/a9adbd/32.png) [@Gustavo](https://forums.knack.com/u/Gustavo)\
**Post date:** [July 1, 2022, 12:58am UTC](https://forums.knack.com/t/api-remote-user-login/12735/8 "2022-07-01T00:58:30Z")

</div>

That was the reason, what a silly mistake!  
Thank you very much!
