← Files GoodMemARCHIVED FILE

skills/goodmem-sdk/references/typescript/models/CreateAuthorizationGrantRequest.md

552 Bytes · Oct 3, 2026 · 06:25 UTC

↓ Download file

<!-- sdk-ref package=@pairsystems/goodmem registry=npm version=0.1.6 -->

# CreateAuthorizationGrantRequest

Creates one live direct authorization grant.

- `grantId` (`string | null`, optional): Optional caller-provided grant UUID.
- `audience` (`GrantAudience`, required): Audience receiving the grant.
- `rule` (`AccessPolicyRule`, required): Authorization descriptor to grant.

[TypeScript](../../typescript.md)

Related types — open only those used by your request:

- [AccessPolicyRule](AccessPolicyRule.md)
- [GrantAudience](GrantAudience.md)

SHA-256: d980494236287c30591f86da29a7a05840e74b47a6c7fc6b5b62991cf8f825ba