Skip to main content
POST
/
v2
/
orgs
/
subscriptions
cURL
curl --request POST \
  --url https://api.eda.prisme.ai/v2/orgs/subscriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "slug": "<string>",
  "name": "<string>",
  "tier": "<string>",
  "status": "<string>",
  "plan": "<string>",
  "isDefault": true,
  "limits": {},
  "features": {},
  "billing": {},
  "startedAt": "<string>",
  "expiresAt": "<string>"
}
'
{
  "slug": "<string>",
  "name": "<string>",
  "tier": "<string>",
  "status": "active",
  "id": "<string>",
  "plan": "<string>",
  "isDefault": true,
  "limits": {},
  "features": {},
  "billing": {},
  "startedAt": "<string>",
  "expiresAt": "<string>",
  "createdBy": "<string>",
  "updatedBy": "<string>",
  "createdAt": "<string>",
  "updatedAt": "<string>"
}

Documentation Index

Fetch the complete documentation index at: https://docs.prisme.ai/llms.txt

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

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
slug
string
required
name
string
required
tier
string
required
status
string
required
plan
string
isDefault
boolean
limits
object
features
object
billing
object
startedAt
string
expiresAt
string

Response

Subscription created

slug
string
required
name
string
required
tier
string
required
status
enum<string>
required
Available options:
active,
inactive,
trialing,
past_due,
canceled
id
string
plan
string
isDefault
boolean
limits
object
features
object
billing
object
startedAt
string
expiresAt
string
createdBy
string
updatedBy
string
createdAt
string
updatedAt
string