Documentation REST API

REST API

Provisioned access

Resolve the organization that owns the review request.

Organization membership scopes review access and prevents one customer from reading or using another customer's resources.

Organization operations

All operations require bearer authentication. Responses include a requestId for support correlation.

  • GET /v1/organizations — list active organizations visible to the caller.
  • POST /v1/organizations — create an organization and add the caller as owner.
  • GET /v1/organizations/{organizationId} — retrieve one visible organization.

Create an organization

The display name is required, trimmed, and limited to 120 characters. The response returns the generated organization ID and owner role.

shell
curl --request POST "https://api.enjoyable.work/v1/organizations" \
  --header "Authorization: Bearer $ENJOYABLE_ACCESS_TOKEN" \
  --header "Content-Type: application/json" \
  --data '{"name":"Example Engineering"}'

Membership boundary

Visibility and product access are separate checks

Seeing an organization does not automatically enable every review product. Synchronous review also requires an active diff-review entitlement for the member.