# AWX Login Authentication using REST API

**URL:** <https://forum.ansible.com/t/awx-login-authentication-using-rest-api/33909>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [September 28, 2020, 5:32am UTC](https://forum.ansible.com/t/awx-login-authentication-using-rest-api/33909 "2020-09-28T05:32:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![haritha\_reddy](https://avatars.discourse-cdn.com/v4/letter/h/919ad9/32.png) [@haritha\_reddy](https://forum.ansible.com/u/haritha_reddy)\
**Post date:** [September 28, 2020, 5:32am UTC](https://forum.ansible.com/t/awx-login-authentication-using-rest-api/33909/1 "2020-09-28T05:32:35Z")

</div>

Hi Everyone,

I am trying to trigger an awx job from one of our application which uses groovy programming language.

I am not sure, is this possible or not. I hope, it can be done using AWX REST API.  
As a first step, from the groovy script, i need to login to awx by passing login credentials to work further with templates and jobs.

Please anyone suggest how we can achieve this from a groovy script?

Thanks in advance  
Hari

---

<div class="post-metadata">

**Author:** ![Kyle\_Curtis](https://avatars.discourse-cdn.com/v4/letter/k/6a8cbe/32.png) [@Kyle\_Curtis](https://forum.ansible.com/u/Kyle_Curtis)\
**Post date:** [October 9, 2020, 2:12pm UTC](https://forum.ansible.com/t/awx-login-authentication-using-rest-api/33909/2 "2020-10-09T14:12:15Z")

</div>

is it Jenkins by chance?
