External API access

Andres1219Andres1219 Member Posts: 6

Hello, I've been searching how to get an access Token and I'm a bit confused.

I've have to work with 2 APIs to sync and retrieve datas. Lightspeed retail being the one external.

Thy gave me an access to their client as admin employee but this doesn't give me access to the API. What should be done?

Thanks for your next answers and help


  • Andres1219Andres1219 Member Posts: 6

    To be more accurate : I need to access the data stored in light speed retail with API calls. I did understand that I need an Oauth2 access. My question is how to get that access delivered? The request page in the documentation but seems like more the steps to integrate than getting access to your API.

    I assume, as I'm not the one using lightspeed that it's not to me to ask for the Oauth access. I do have the name of the company using lightspeed if you can generate it for them

  • LeahLeah Moderator, Lightspeed Staff Posts: 212 moderator

    Hi @Andres1219 to gain access to the API, you need to request an API client here: https://cloud.lightspeedapp.com/oauth/register.php

    Once approved, you can follow the steps outlined in our documentation here: https://developers.lightspeedhq.com/retail/authentication/authentication-overview/ to authorize your client on the customer's account.

    API Support
    Lightspeed HQ
  • Andres1219Andres1219 Member Posts: 6

    Thank you for the answer @Leah

    I already saw this page what I don't understand is what are the website and URI needed for? Should it be the website using lightspeed (knowing that I'm not the one using it)? I'm really confused about it

  • [Deleted User][Deleted User] Posts: 0 moderator

    Hello @Andres1219,

    When requesting an OAuth client, the website should be the home page of your integration but if you are testing the API you can use https://localhost. The redirect page is where the temporary token will be pass using code as the query parameter, which can capture by a script and make the exchange for an access token.

    Hope this is the information you were seeking.

  • Andres1219Andres1219 Member Posts: 6

    Hello @Alex Lugo,

    Thanks for the answer it's a bit more clear for me.

    Actually I need to access the API to get the data I need and use them into another structure to use it with an another API (light speed API isn't really integrated, just need to retrieve the data in my development code).

    With what you said, I assume I have to get it all with localhost?

Sign In or Register to comment.