> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://docs.coperniq.io/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://docs.coperniq.io/_mcp/server.

# List Call Classification Options

GET https://api.coperniq.io/v1/calls/classification-options

Lists your company's call reasons and dispositions, ordered by type and then position.
A call's `reason` and `disposition` hold an option's `name`. Options are company-defined,
and renaming or deleting one does not change calls already logged with it.


Reference: https://docs.coperniq.io/api-reference/calls/list-call-classification-options

## Authentication

- `x-api-key` header (required) — API Key authentication via header

## Request

### Query parameters

- `type` (enum, optional) — Only return options of this type. Omit to return both.
  - Allowed values: `REASON`, `DISPOSITION`

## Response

### 200

List of call classification options

- `list of CallClassificationOption`

## Errors

### 400 Bad Request Error

Invalid request

- `message` (string, optional)
- `code` (enum, optional)
  - Allowed values: `GRAPHQL_ERROR`
- `field` (string, optional) — Field that caused the validation error (if applicable)

### 401 Unauthorized Error

Authentication failed

- `message` (string, optional)
- `code` (enum, optional)
  - Allowed values: `GRAPHQL_ERROR`

### 500 Internal Server Error

Internal server error

- `message` (string, optional)
- `code` (enum, optional)
  - Allowed values: `GRAPHQL_ERROR`

### 502 Bad Gateway Error

Bad Gateway — downstream GraphQL service returned errors

- `message` (string, required) — Summary of the downstream service failure
- `code` (enum, required)
  - Allowed values: `GRAPHQL_ERROR`

## Types

### CallClassificationOption

- `id` (integer, required) — Option identifier
- `type` (enum, required) — Whether this option is a call reason or a call disposition
  - Allowed values: `REASON`, `DISPOSITION`
- `name` (string, required) — The value stored on a call's `reason` or `disposition`
- `position` (integer, required) — Sort order within its type
- `description` (string, optional, nullable) — Guidance on when to use this option. Coperniq AI also uses it when classifying calls.

## Examples

**Response**

```json
[
  {
    "id": 1,
    "type": "REASON",
    "name": "Service",
    "position": 1,
    "description": "string"
  }
]
```

**SDK Code**

```python
import requests

url = "https://api.coperniq.io/v1/calls/classification-options"

headers = {"x-api-key": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.coperniq.io/v1/calls/classification-options';
const options = {method: 'GET', headers: {'x-api-key': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.coperniq.io/v1/calls/classification-options"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("x-api-key", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.coperniq.io/v1/calls/classification-options")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.coperniq.io/v1/calls/classification-options")
  .header("x-api-key", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.coperniq.io/v1/calls/classification-options', [
  'headers' => [
    'x-api-key' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.coperniq.io/v1/calls/classification-options");
var request = new RestRequest(Method.GET);
request.AddHeader("x-api-key", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["x-api-key": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.coperniq.io/v1/calls/classification-options")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```