# Flowg8 · Simulate invitation acceptance

Link the invited test person to a simulated Sandbox account.

Sandbox only. Requires a Sandbox administrator/developer session, or the same service account with users:invite that created the invitation. Repeating acceptance returns the same result. No password, access token or real account is issued. The linked identity belongs only to this Sandbox.

## POST /v1/sandbox/invitations/{invitationId}/accept

Authentication: restricted integration key (scope: users:invite) or Flowg8 sign-in access token
Required tenant header: X-Organization-Id.
Required user permissions: Administrator or Sandbox developer required · Sandbox only. The API checks current membership, roles, key scopes and resource permissions on every request. Documentation visibility grants no access.

## Request example (replace example IDs)

```sh
curl -X POST "https://api.flowg8.io/v1/sandbox/invitations/invitationId/accept" \
  -H "authorization: Bearer $FLOWG8_API_KEY" \
  -H "x-organization-id: 10000000-0000-4000-8000-000000000001" \
  -H "content-type: application/json" \
  --data-raw '{}'
```

## Response excerpt

```json
{
  "status": "accepted",
  "delivery": "simulated"
}
```

Source: /docs/accept-sandbox-invitation
Full schemas: /docs/openapi.json
