Developer

last person joined: 7 days ago 

Expand all | Collapse all

Api call without token

This thread has been viewed 9 times
  • 1.  Api call without token

    Posted Nov 06, 2019 01:30 AM

    Hi each time when i do a api call i need a token .

     

    so my requirement is to call api without using token 

    or if i generate that token then its never going to expire

     

    can any one help me out



  • 2.  RE: Api call without token

    MVP GURU
    Posted Nov 06, 2019 02:33 AM

    What language do you are using ?

     

    the best pratice is to use client_id and client_secret and call api to generate token

     

    you can also generate a token with very long life (like one year...)



  • 3.  RE: Api call without token

    Posted Nov 06, 2019 02:48 AM

    Hi i am just using Curl command to execute api call.

     

     

    Can you tell me the way how to generate token for very long 



  • 4.  RE: Api call without token

    MVP GURU
    Posted Nov 06, 2019 04:09 AM

     

    CPPM_Create_API_ClientWhen, you create the client_id/client_secret, you can configure the Access Token Lifetime

     

    but if you look the api/oauth API call, with the client_id and client_secret, generate access token