Skip to main content
POST
/
v1
/
admin
/
subscriptions
/
{entity_type}
/
{entity_id}
/
trial
curl -X POST https://hapi.7331.org/v1/admin/subscriptions/user/123456789012345678/trial \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{"reason": "New user onboarding"}'
{
  "message": "Trial granted to user 123456789012345678 (7-day trial)"
}
Requires an active admin session cookie. Each entity can only receive one trial — attempting to grant a second trial returns 409 Conflict.
entity_type
string
required
Entity type. One of: user, guild.
entity_id
integer
required
Discord snowflake ID of the entity.
reason
string
Reason for granting the trial.

Response

message
string
required
Action result message.
curl -X POST https://hapi.7331.org/v1/admin/subscriptions/user/123456789012345678/trial \
  -H "Content-Type: application/json" \
  -b cookies.txt \
  -d '{"reason": "New user onboarding"}'
{
  "message": "Trial granted to user 123456789012345678 (7-day trial)"
}