Customer API Authentication - Where to get token?

question regarding “creating new customer section”

this section states that

The <access_token> mentioned below is the one that you get from the app authorization flow.

  1. Where can I find description of how to get this <access_token> or at least description of “app authorization flow.”?
  2. Could I use Personal Access Token with basic auth to create new customer and get customer token?
1 Like

Answer for Question #1
figured out that <access_token> is the same token you get from step 4 of “Authorization code grant” from agent authorization section https://developers.livechat.com/docs/authorization/authorizing-api-calls/#authorization-code-grant

Question #2 ?

I couldn’t find the solution for Question #2. Doc states that implicit agent grant flow should be used to obtain access token (used as bearer token). So if you want to do OAuth flow on backend side, you have to simulate user passing email, pass on html login form.