Custom permissions API keys | API Development | TORN

Custom permissions API keys

    • HOU5E [2337920]
    • Role: Civilian
    • Level: 15
    • Posts: 1,606
    • Karma: 1,209
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Thread created on 06:10:03 - 06/01/22 (2 years ago)
    |
    Last replied 06:45:54 - 06/01/22 (2 years ago)
    According to the November Newspaper Article, "we have given players the ability to hold ten API keys, with each one customisable with four levels of access; Public Only, Minimal Access, Limited Access, and Full Access.

    We've also added in the ability for developers to create key creation URLs which allow their users to create an API key with the exact requirements necessary to run their application. API keys can be created via API Keys tab on the preferences panel. More information can be found in the API Documentation."

    How does one create an API key that has permissions to retrieve company information only?


    edit: Found the answer from Chedburn - https://www.torn.com/forums.php#/p=threads&f=63&t=16249068&b=0&a=0
    Last edited by HOU5E on 06:47:38 - 06/01/22
    • vALT0r [767373]
    • Role: Civilian
    • Level: 99
    • Posts: 296
    • Karma: 308
    • Last Action: 33 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:17:47 - 06/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    It says "create an API key with the exact requirements necessary", but documentation and API options say there are just 4 preset privacy options.
    Is there a way to be more specific with the limitations of each API key? like for example what HOU5E said, query company info but not able to query battle stats.

    • vALT0r [767373]
    • Role: Civilian
    • Level: 99
    • Posts: 296
    • Karma: 308
    • Last Action: 33 minutes
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:20:24 - 06/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    Found it! LOL right under our noses. And pinned...

    https://www.torn.com/forums.php#/p=threads&f=63&t=16249068&b=0&a=0
    • HOU5E [2337920]
    • Role: Civilian
    • Level: 15
    • Posts: 1,606
    • Karma: 1,209
    • Last Action: 1 hour
      • 0
    • Reason:
      Are you sure you want to report this post to staff?
      Cancel
    Posted on 06:45:54 - 06/01/22 (2 years ago)
    Post link copied to clipboard Copy post link
    Thanks vALTOR
    Last edited by HOU5E on 06:46:20 - 06/01/22
Reply
Thread Title: