Create Access Profile Grant
Attach an access profile to a workflow, app resource role, or form. One grant per profile-resource pair.
Authentication and permissions
Token requirements: User-based token (OAuth) or Organization-scoped API key or Workspace-scoped API key. Send a bearer access token for one of these identities. The permissions and resource restrictions below also apply.
- Request eligibility grants: These operations update request eligibility grants only, including on profiles with birthright enabled.
Authorizations
Body
Exactly one of the resource id fields below must be set; the field carries the resource kind. The resource must belong to the profile's workspace. Knowledge-item grants are read-only on this API (returned by the Get/List endpoints): knowledge gating is managed in-app, where grants inherit through the folder tree.
The ID of the workflow to grant.
Response
Success
The kind of resource an access profile grant attaches to. One access-profile-to-resource attachment. For workflows and app resource roles the profile grants access; for forms and skills it narrows the audience (a form or skill with no grants reaches anyone in the org). Exactly one of the resource id fields is set; the field itself carries the resource kind, so cross-workspace tooling can resolve each id against its own resource type.

