# ServiceNow integration and /api/v2/authtoken/ endpoint in AWX

**URL:** <https://forum.ansible.com/t/servicenow-integration-and-api-v2-authtoken-endpoint-in-awx/34490>\
**Category:** AWX Project\
**Tags:** awx\
**Created:** [January 22, 2021, 4:58am UTC](https://forum.ansible.com/t/servicenow-integration-and-api-v2-authtoken-endpoint-in-awx/34490 "2021-01-22T04:58:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![iamroddo](https://sea1.discourse-cdn.com/ansible/user_avatar/forum.ansible.com/iamroddo/32/321_2.png) [@iamroddo](https://forum.ansible.com/u/iamroddo)\
**Post date:** [January 22, 2021, 4:58am UTC](https://forum.ansible.com/t/servicenow-integration-and-api-v2-authtoken-endpoint-in-awx/34490/1 "2021-01-22T04:58:17Z")

</div>

We are struggling with the integration between ServiceNow and AWX. The ServiceNow team (developers from Accenture) are saying that they expect to be able to make calls to an API endpoint /api/v2/authtoken/ and present [https://docs.ansible.com/ansible-tower/3.2.7/html/towerapi/auth\_token.html](https://docs.ansible.com/ansible-tower/3.2.7/html/towerapi/auth_token.html) as documentation for this. Another link in that documentation points to the browseable API ([https://docs.ansible.com/ansible-tower/3.2.7/html/towerapi/browseable.html](https://docs.ansible.com/ansible-tower/3.2.7/html/towerapi/browseable.html)), in which there is a screenshot of /api/v2/ which contains a reference to /api/v2/authtoken/. I don’t see this on my AWX (15.0.0), nor also on the latest version of Ansible Tower browseable API documentation ([https://docs.ansible.com/ansible-tower/latest/html/towerapi/browseable.html](https://docs.ansible.com/ansible-tower/latest/html/towerapi/browseable.html)).

Did the mechanism of token generation via /api/v2/authtoken/ get replaced by OAUTH somewhere along the way?

I have come across a blog post on ServiceNow integration from October 2019 ([https://www.ansible.com/blog/ansible-servicenow-howto-part-3-making-outbound-restful-api-calls-to-ansible-tower](https://www.ansible.com/blog/ansible-servicenow-howto-part-3-making-outbound-restful-api-calls-to-ansible-tower)). Does this method apply?

Rod Oliver

---

<div class="post-metadata">

**Author:** ![Mike\_Charchuk](https://avatars.discourse-cdn.com/v4/letter/m/e47774/32.png) [@Mike\_Charchuk](https://forum.ansible.com/u/Mike_Charchuk)\
**Post date:** [January 22, 2021, 4:05pm UTC](https://forum.ansible.com/t/servicenow-integration-and-api-v2-authtoken-endpoint-in-awx/34490/2 "2021-01-22T16:05:17Z")

</div>

You might want to look at this

[https://docs.ansible.com/ansible-tower/latest/html/administration/oauth2\_token\_auth.html](https://docs.ansible.com/ansible-tower/latest/html/administration/oauth2_token_auth.html)
