Can't get public_key.pem of my app

5 댓글

  • Vj Gunawardana

    Hi Sergii Kliuchnyk

    I tried this and got the same issue via cURL. 

    It did, however, work for me on POSTman. 

    I used the subdomain that i uploaded the app to. 

    I used the email from the account from which uploaded the app but appended the /token at the end. 

    I also used an API token generated for myself as the password. 

    GET {{my-staging-domain}}.zendesk.com/api/v2/apps/{app_id}//public_key.pem

    Basic auth

    Email: myemail@domain.com/token
    Password: API_TOKEN_GENERATED_IN_ADMIN_SETTINGS

    EDIT: Other Zendesk APIs work for me via cURL

    1
  • Sergii Kliuchnyk

    Vj Gunawardana

    Thanks a lot! It's worked.

    0
  • Vj Gunawardana

    great to hear Sergii Kliuchnyk - Hopefully the cURL gets fixed up for others. 

    0
  • Sergii Kliuchnyk

    Vj Gunawardana try to add header "user-agent: chrome", I think Postman adds it by default

    0
  • Vj Gunawardana

    Awesome, thanks for that Sergii Kliuchnyk

    0

댓글을 남기려면 로그인하세요.

Zendesk 제공