Skip to main content

Fetch Plan

Get details of a single subscription plan.

GET https://api.spotflow.co/api/v1/plans/:plan-id

Headers

authorization
String

Bearer SECRET_KEY
Include your secret key in the request header as a Bearer token for authorization. Unauthorized requests will result in a 401 HTTP status code.

Path Parameters

plan-id int32

This is the unique ID of the subscription plan you want to fetch.

Sample Response

200 OK

{
"id": "acbabde0-1293-4b8b-9eb9-7e532e34d9bf",
"title": "My Nutrifit",
"frequency": "DAILY",
"internalReference": "ref-prod",
"status": "active",
"regions": [
"Nigeria",
"Ghana"
],
"subscribers": 0,
"subscriptions": 0,
"createdAt": "2025-04-24T13:50:17Z",
"pricingOptions": [
{
"amount": 100,
"currency": "NGN"
},
{
"amount": 10,
"currency": "GHS"
}
]
}