自 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

请先登录再写评论。