Skip to main content
POST
/
v1
/
subscriptions
Create a subscription
curl --request POST \
  --url https://api.monigo.co/v1/subscriptions \
  --header 'Authorization: <api-key>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "customer_id": "<string>",
  "plan_id": "<string>"
}
'
{}

Authorizations

Authorization
string
header
required

API key with Bearer prefix (for programmatic/server-to-server access), format: Bearer {api_key}

Body

application/json

Subscription details

customer_id
string
plan_id
string

Response

Created

The response is of type object.