---
title: "POST /authorize"
method: POST
path: "/authorize"
tags: ["Check API"]
---

# POST /authorize

`POST /authorize`

Determines whether or not an actor can take an action on a resource, based on a combination of authorization data and policy logic.

## Request body

- AuthorizeQuery
  - `actor_type` string, required
  - `actor_id` string, required
  - `action` string, required
  - `resource_type` string, required
  - `resource_id` string, required
  - `context_facts` Fact[]
    - `predicate` string, required
    - `args` Value[], required
      - `type` string, nullable
      - `id` string, nullable

## Response `200`

- AuthorizeResult
  - `allowed` boolean, required

## Other responses

- `default`

---

[API](https://skmtc.net/osohq/apis/oso-cloud-http-api.md) · [All operations](https://skmtc.net/osohq/apis/oso-cloud-http-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/osohq/oso-cloud-http-api/versions/edaea3b218bd/schema)
