API Reference
entitlements
2 endpoints
/api/v1/organizations/{organization_slug}/members/{user_uuid}/entitlementsGet Member Entitlements
Read a member's active tier and entitlements in an organization.
For third-party gating: an org's backend checks whether one of its users
holds a membership/tier/entitlement. A non-member returns
is_member=false with empty entitlements.
Path parameters
| user_uuid* | string | |
| organization_slug* | string |
Query parameters
| default_backend | string | default: "primary" |
Responses
| Field | Type | Description |
|---|---|---|
| user_uuid* | string | |
| organization_uuid* | string | |
| is_member* | boolean | |
| tier_uuid | string | null | |
| tier_slug | string | null | |
| entitlements | object |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
Example request
curl -X GET "https://api.davi.social/api/v1/organizations/{organization_slug}/members/{user_uuid}/entitlements" \
-H "Authorization: Bearer <token>"/api/v1/organizations/{organization_slug}/members/{user_uuid}/entitlements/{key}Check Member Entitlement
Focused check: does the member's active tier grant entitlement key.
Path parameters
| user_uuid* | string | |
| key* | string | |
| organization_slug* | string |
Query parameters
| default_backend | string | default: "primary" |
Responses
| Field | Type | Description |
|---|---|---|
| user_uuid* | string | |
| organization_uuid* | string | |
| key* | string | |
| granted* | boolean |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
| Field | Type | Description |
|---|---|---|
| errors* | object | Map of field names to error messages. Use '_root' for form-level errors. |
| message* | string | Human-readable error summary |
| code | string | null | Machine-readable error code |
Example request
curl -X GET "https://api.davi.social/api/v1/organizations/{organization_slug}/members/{user_uuid}/entitlements/{key}" \
-H "Authorization: Bearer <token>"