Skip to content

CORS preflight for Studio OAuth grant editor session

OPTIONS
/organizations/{organizationId}/oauth/grants/{grantId}/session
curl --request OPTIONS \
--url https://api-dev.mindflow.io/v1/organizations/ORGA-57b858ed-ec60-4507-b2ef-ea58244ac742/oauth/grants/2b08e096f6f48c7e918a5f238d254ce7/session

Browser CORS preflight for the Studio grant editor consent request to this endpoint.

organizationId
required
Organization id

Opaque id of the organization that owns the resource. In a playbook step this can be filled from the current organization when the caller leaves it unset.

string
default: $CURRENT_ORGANIZATION_ID >= 1 characters <= 128 characters /^[^\p{C}]+$/
Example
ORGA-57b858ed-ec60-4507-b2ef-ea58244ac742
grantId
required
string
<= 128 characters /^[^\x00-\x1F\x7F]+$/
Example
2b08e096f6f48c7e918a5f238d254ce7

No content; CORS response headers indicate allowed methods, headers, and origin policy.

X-RateLimit-Limit
integer format: int32
>= 1 <= 1000
Example
1000

Maximum number of requests allowed in the current window. Present when this response is rate limited.

X-RateLimit-Remaining
integer format: int32
<= 1000
Example
42

Number of requests still allowed in the current window. 0 means the next call can return 429 until the window resets.

X-RateLimit-Reset
string format: date-time
<= 29 characters
Example
2026-03-20T15:31:00.000Z

Time when the current window resets, as ISO 8601 UTC. After this time, X-RateLimit-Remaining starts over.

Retry-After
integer format: int32
>= 1 <= 3600
Example
30

HTTP Retry-After value in seconds. Wait at least this long before retrying a 429 response.

Access-Control-Allow-Origin
string
Allowed values: *
Example
*

CORS Access-Control-Allow-Origin value. Origin allowed to read this response from a browser. * means any origin may read it.