Skip to main content
GET
/
api
/
perms
cURL
curl -X GET "https://app.cotool.ai/api/perms" \
  -H "Authorization: Bearer YOUR_API_KEY" \
  -H "Content-Type: application/json"
{
  "userPerms": [
    {
      "resource": {
        "type": "<string>"
      },
      "action": "<string>"
    }
  ],
  "allPerms": [
    {
      "resource": {
        "type": "<string>"
      },
      "action": "<string>"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Response

200 - application/json

Successful response

userPerms
object[]
required
allPerms
object[]
required