# Get what new seats cost

> Source: https://elaichi.ai/docs/api-reference/organizations/organization/getorganizationseatquote/

`GET /organization/{id}/billing/seat-quote`

Resource: **Organization** · API: **Organizations**

## Path parameters

- **`id`** _(string, required)_
  Organization id (`org_…`).

## Query parameters

- **`role_id`** _(string)_
  The role they would join with (`role_…`). A free role answers `none`.
- **`seats`** _(integer)_
  How many people would join on that role. Above 1000 is read as 1000; anything else that is not a whole number of at least 1 as 1.

## Response body

- **`state`** _(string)_
  Allowed: `charged_on_join`, `trial`, `none`
- **`seats_added`** _(integer)_
  Paid seats the people add, after the one-seat minimum. 0 with `none`.
- **`currency`** _(string,null)_
  Lowercase ISO code.
- **`amount_due_on_join`** _(number,null)_
  Billed for the new seats, for the rest of the current period.
- **`pending_earlier`** _(number,null)_
  Already owed on the subscription from earlier changes, billed on the same invoice.
- **`seat_price`** _(number,null)_
  One seat's recurring price.
- **`interval`** _(string,null)_
  Allowed: `day`, `week`, `month`, `year`, `null`
- **`interval_count`** _(integer,null)_
- **`period_end`** _(string,null)_

## Code examples

### curl

```bash
curl -X GET 'https://api.elaichi.ai/organization/<id>/billing/seat-quote' \
  -H 'Authorization: Bearer $ELAICHI_API_TOKEN' \
  -H 'Content-Type: application/json'
```

### JavaScript

```javascript
const response = await fetch('https://api.elaichi.ai/organization/<id>/billing/seat-quote', {
  method: 'GET',
  headers: {
    'Authorization': 'Bearer ' + process.env.ELAICHI_API_TOKEN,
    'Content-Type': 'application/json',
  },
});

const data = await response.json();
console.log(data);
```

### Python

```python
import os
import requests

url = "https://api.elaichi.ai/organization/<id>/billing/seat-quote"
headers = {
    "Authorization": f"Bearer {os.environ['ELAICHI_API_TOKEN']}",
    "Content-Type": "application/json",
}

response = requests.get(url, headers=headers)
print(response.json())
```
