Skip to main content
GET
/
subscriptions
/
{externalCustomerId}
Get Subscription by External Customer ID
curl --request GET \
  --url https://dev-billing-api.spectertech.ai/api/v1/subscriptions/{externalCustomerId}
{
  "id": "<string>",
  "planId": "<string>",
  "customerId": "<string>"
}

Path Parameters

externalCustomerId
string
required

Unique external customer ID

Response

OK - Successful response

id
string

Unique identifier of the subscription

planId
string

Unique identifier of the plan associated with the subscription

customerId
string

Unique identifier of the customer associated with the subscription

I