|
自 2021 年 1 月起,傳統文件類型將不再可用。您可以轉換傳統檔案或下載 PDF。進一步瞭解

401 "No valid API token provided" When Calling Prototype APIs

已回覆
0

評論

1 條評論

  • Jeff Hickey

    Hi Devan Birmingham,

    Authorization for the prototype APIs is the same a the production APIs. More information here https://developers.workiva.com/prototype-platform/prototype-authentication/. I did successfully test the endpoint to retrieve a list of audits. You may want to include the verbose option to help with troubleshooting. Below is an example. Make sure that your API Grant has the necessary scope(s) (the example below requires graph:read) and that the username associated with your Grant has permissions to perform the operations. Then request a new bearer token, and within 10 minutes, try the example below:

    curl -v GET https://api.app.wdesk.com/prototype/platform/audits --header "Accept: application/json" --header "Authorization: Bearer <TOKEN>"
    0

登入寫評論。