How can I Create/Get Tickets using end user 's credentials

6 Kommentare

  • Dhawal Maharaja
    Aktionen für Kommentare Permalink

    Brett - Community Manager Can you please provide any inputs on this

    0
  • Bryan - Community Manager
    Aktionen für Kommentare Permalink

    Hello Dhawal,

    End users are much more restricted than agents in what they can do.

    They have their own "Requests" API endpoint to reflect that. Check out: /api/v2/requests.json

    This and the related endpoints documented at the above link are the APIs you want to be looking at for end user actions.

    0
  • Dhawal Maharaja
    Aktionen für Kommentare Permalink

    Bryan - Community Manager Thanks for your inputs.

    I am trying to generate token for End User using below API but it returns me first 10 characters of access token only. 

    1) How can i get full access token

    2) for Some End user it is working and for some end users it returns null, why so ?

     

    List Tokens

    GET /api/v2/oauth/tokens.json

    Returns the properties of the tokens. For security reasons, only the first 10 characters of each access token are included.

    0
  • Dhawal Maharaja
    Aktionen für Kommentare Permalink

    Bryan - Community Manager Can you please provide any inputs here

    0
  • Bryan - Community Manager
    Aktionen für Kommentare Permalink

    Hi Dhawal. The full token is only returned once when it is created. It is then up to you on how to manage and store it. For security reasons, the above API only returns a partial reference to the full token value. This is to help identify them without disclosing and exposing the full token.

    In addition, if listing token records via the API, only tokens that belong to the user making the API call are listed. They will not see tokens from other users (even if they are an administrator or account owner).

    When creating an OAuth access token, make sure to store the token somehow for future reference as it will not be fully exposed again. Hope this clarifies things.

    0
  • Dhawal Maharaja
    Aktionen für Kommentare Permalink

    Our Application not store password for End Users, Can you please let me know how can i create token for End Users and use that token in above API

    0

Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.

Powered by Zendesk