Skip to main content
POST
/
v1
/
admin
/
subscriptions
/
grant
curl -X POST https://portal-api.7331.org/v1/admin/subscriptions/grant \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"user_id": 42, "tier": "TRIAL", "reason": "New user onboarding"}'
{
  "message": "Subscription granted to user 42 (7-day trial)"
}

Documentation Index

Fetch the complete documentation index at: https://docs.7331.org/llms.txt

Use this file to discover all available pages before exploring further.

Trial grant is dispatched through the unified Grant Subscription endpoint with tier=TRIAL. duration_days is ignored (forced to 7). Each user can only receive one trial — attempting to grant a second trial returns 409 Conflict.
user_id
integer
required
User ID to grant the trial to.
tier
string
required
Must be "TRIAL" to dispatch the one-time trial flow.
reason
string
Reason for granting the trial (1-500 characters).

Response

message
string
required
Action result message.
curl -X POST https://portal-api.7331.org/v1/admin/subscriptions/grant \
  -H "Content-Type: application/json" \
  -b "psession=YOUR_SESSION" \
  -d '{"user_id": 42, "tier": "TRIAL", "reason": "New user onboarding"}'
{
  "message": "Subscription granted to user 42 (7-day trial)"
}