How to use API for Intigration

where to get access token to use with api

frappe.sessions.get_csrf_token()

1 Like

where i need to run this. on browser or in system

system

root@e242ce760d9e:/# frappe.sessions.get_csrf_token()

do i need to give any comment on this i am unable to get token

If you are looking for access_token as a part of OAuth 2.0 Bearer Token for accessing frappe server resources refer OAuth 2 provider and OpenID Connect for Frappe Apps

also refer the following documentation

https://frappe.io/docs/user/en/guides/integration

2 Likes

Thank you for your help sir, good document let me try and revert back