Skip to main content
GET
/
api
/
v1
/
hubs
/
{hub_id}
/
policies
Retrieve hub TOS and privacy policy documents
curl --request GET \
  --url https://api.member.dev/api/v1/hubs/{hub_id}/policies \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "attributes": {
        "enabled": true,
        "content": "<string>",
        "version": "<string>"
      },
      "id": "<string>",
      "type": "policies"
    }
  ]
}

Authorizations

Authorization
string
header
required

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

Path Parameters

hub_id
string
required

Response

Successful Response

JSON:API list response for hub policies.

Returns an empty data array when policies are disabled or unconfigured.

data
PolicyResource · object[]
required