# Get User Contract

The User Contract Details API allows retrieval of contract details for a specific enterprise.

### API Endpoint

```http
GET /tenant/enterprise/contract/:enterpriseId
Host: api.audicient.com
Authorization: <API_KEY>:<API_SECRET>
```

### Path Parameters

| Parameter    | Type   | Description              |
| ------------ | ------ | ------------------------ |
| enterpriseId | string | The ID of the enterprise |

### Authentication Requirements

All requests must include authentication credentials.

* **Authorization Header:** Pass the API key and secret as `<API_KEY>:<API_SECRET>`.
* **Enterprise-ID Header:** Required for impersonation when accessing user-specific data.

### Example Request

```http
GET /tenant/enterprise/contract/100001
Host: api.audicient.com
Authorization: <API_KEY>:<API_SECRET>
```

### Example Response

```json
{
  "enterpriseId": 100001,
  "payeeId": 200001,
  "sharePercentage": 70,
  "enterpriseName": "Horizon Music Group",
  "subscriptionPlanId": 3,
  "statementEmail": "finance@horizonmusic.com",
  "type": "user",
  "permissionId": "8a9b1411-d7bf-4fe7-a35f-d471a8d7f62b",
  "ownerImageId": "f7c94677-edd7-4a0e-a9fb-7d886be572c4",
  "ownerEmail": "owner@horizonmusic.com",
  "ownerUserId": "1bc89677-edd7-4a0e-a9fb-7d886be572c4",
  "ownerFirstName": "Alex",
  "ownerLastName": "Turner",
  "createdAt": "2025-03-14T10:20:30.456Z"
}
```

This API enables tenants to retrieve contract details for a specific enterprise by providing the `enterpriseId`. Ensure that the appropriate authentication headers are included in the request.
