Skip to content
Proud to collaborate with Microsoft for Startups

identity.seat.grant ​

Grant a batch of end-user seats to an app (raises the cap)

Grant a batch of end-user seats to an app (raises its cap past the free 10).

Inputs:

  • actor, organization_uuid (required)
  • identity_app_uuid: the app (required)
  • batch_size: number of seats to add (required, > 0)
  • source: paid Stripe Checkout reference (required, stripe_checkout:<session_id>)

Outputs: seat_grant_uuid, batch_size, identity_app_uuid

Overview ​

PropertyValue
Workflow typeLinear
LibraryApp-identity
Version1.0

Input Schema ​

FieldTypeRequiredDefaultDescription
actorstringYes——
organization_uuiduuidYes——
identity_app_uuiduuidYes——
batch_sizeintegerYes——
sourcestringYes——

Output Schema ​

FieldTypeRequiredDefaultDescription
seat_grant_uuiduuidYes——
batch_sizeintegerYes——
identity_app_uuiduuidNo——
actorstringNo——
failure_reasonstringNo——
failure_typestringNo——
failed_actionstringNo——
failed_at_statestringNo——

States ​

StateInitialTerminalSuccessAuto-advanceDescription
initiatedYesNo—validate—
persistingNoNo—complete—
validatingNoNo—persist—
completedNoYesYes——
failedNoYesNo——

State Diagram ​

Transitions ​

FromActionToDescription
initiatedvalidatevalidating—
validatingpersistpersisting—
persistingcompletecompleted—
* (any state)failfailed—

API Usage ​

bash
POST /api/workflows/start
Content-Type: application/json

{
  "workflow_type": "identity.seat.grant",
  "initial_data": {
    "actor": "value",
    "organization_uuid": "value",
    "identity_app_uuid": "value",
    "batch_size": 123
  }
}