Skip to main content
GET
/
api
/
v2
/
policies
/
plans
Python
from samplehc import SampleHealthcare

client = SampleHealthcare(
    api_key="My API Key",
)
response = client.v2.policies.list_plans()
print(response.count)
{
  "plans": [
    {
      "id": "<string>",
      "name": "<string>",
      "state": "<string>",
      "company_id": "<string>"
    }
  ],
  "count": 123
}

Query Parameters

plan_name
string

Plan name to filter by

skip
number

Number of results to skip

limit
number

Maximum number of results to return

Response

Successfully retrieved plans

Successfully retrieved plans

plans
object[]
required
count
number
required

Total number of plans available