> This page is for version v2 (default).
> For other versions, use one of these documentation indexes:
> - v2 (default): https://docs.pinnacle.sh/v-2/llms.txt
> - v1: https://docs.pinnacle.sh/v1/llms.txt

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

# Update Conference

PATCH https://api.pinnacle.sh/conferences/{id}
Content-Type: application/json

Change the label, metadata, or hold audio. Only the fields you send change.

Reference: https://docs.pinnacle.sh/api-reference/conferences/update-conference

## Authentication

- `PINNACLE-API-KEY` header (required) — API Key authentication via header

## Request

### Path parameters

- `id` (string, required)

### Body (application/json)

This endpoint expects an UpdateConferenceParams.

- `label` (string, optional, nullable)
- `hold_audio_url` (string, optional, nullable)
- `speaking_events` (boolean, optional)
- `metadata` (map from string to string, optional)

## Response

### 200

Updated conference.

- `id` (string, required)
- `label` (string, required, nullable)
- `status` (enum, required) — - `waiting`: Created, but nobody has joined yet. - `active`: At least one participant has joined. - `ended`: Over. Every participant's call has been hung up.
  - Allowed values: `waiting`, `active`, `ended`
- `participant_count` (integer, required) — Participants currently joined.
- `max_participants` (integer, required)
- `hold_audio_url` (string, required, nullable) — What participants on hold hear.
- `speaking_events` (boolean, required) — Whether `participant.speaking` events are sent when the active speaker changes.
- `metadata` (map from string to string, required)
- `created_at` (string, required)
- `started_at` (string, required, nullable)
- `ended_at` (string, required, nullable)
- `ended_reason` (enum, required, nullable) — Why a conference ended. A conference never ends just because one person is left. * `empty`: The last participant left. * `ended_by_api`: Ended with `DELETE /conferences/{id}` or the `conference.end` command. * `participant_ended_it`: A participant added with `end_conference_on_leave: true` left. * `time_limit`: Reached the 4-hour limit. * `expired_waiting`: Nobody joined in time. * `failed`: The conference couldn't be started.
  - Allowed values: `empty`, `ended_by_api`, `participant_ended_it`, `time_limit`, `expired_waiting`, `failed`
- `participants` (list of Participant, required)

## Errors

### 400 Bad Request Error

Validation failed. The payload has missing required fields and/or invalid types.&#x20; See [https://zod.dev/error-formatting](https://zod.dev/error-formatting) for more information.

- `description` (string, required) — Human-readable summary of validation failures.
- `errors` (ZodErrorErrors, required) — Structured dictionary of issues containing two main sections: - `errors`: Array of global validation errors not tied to specific fields - `properties`: Object mapping field names to their specific validation errors, where each field contains an `errors` array

### 401 Unauthorized Error

The request lacks valid authentication credentials or the provided credentials are invalid.&#x20; Ensure you're including a valid API key in the request headers and that your account has the necessary permissions to access this endpoint.

- `error` (string, required) — Human-readable description of the error that occurred, corresponding to the HTTP status code.

### 404 Not Found Error

The requested resource could not be found.&#x20; This may occur if the identifier is incorrect, the resource has been deleted, or you don't have permission to access it.

- `error` (string, required) — Human-readable description of the error that occurred, corresponding to the HTTP status code.

### 409 Conflict Error

This action cannot be completed right now because the resource is already being processed or is in a state that does not allow the requested change. Check the latest resource status and try again when it is ready.

- `error` (string, required) — Human-readable description of the error that occurred, corresponding to the HTTP status code.

### 500 Internal Server Error

An unexpected error occurred on Pinnacle's servers while processing your request.&#x20; If this error persists, please contact support with the request details.

- `error` (string, required) — Human-readable description of the error that occurred, corresponding to the HTTP status code.

## Types

### Participant

A call in a conference.

- `call_id` (string, required) — The participant is this call; every call API works on it.
- `conference_id` (string, required)
- `label` (string, required, nullable)
- `status` (enum, required) — - `dialing`: A dialed participant whose call hasn't answered yet. - `ringing`: Answered and being connected (or hearing its `announce`). - `joined`: In the conference. - `left`: Hung up or was removed. - `failed`: Never connected (busy, no answer, rejected, or an error).
  - Allowed values: `dialing`, `ringing`, `joined`, `left`, `failed`
- `from` (string, required, nullable)
- `to` (string, required, nullable)
- `muted` (boolean, required) — Nobody hears this participant; they still hear everyone.
- `on_hold` (boolean, required) — They hear hold audio and nobody hears them.
- `whisper_to` (list of string, required, nullable) — Call IDs of the only participants who can hear this one, or `null` for everyone.
- `end_conference_on_leave` (boolean, required) — When this participant leaves, the conference ends for everyone.
- `joined_at` (string, required, nullable)
- `left_at` (string, required, nullable)
- `left_reason` (enum, required, nullable)
  - Allowed values: `hangup`, `removed`, `busy`, `no_answer`, `rejected`, `failed`, `conference_ended`

### ZodErrorErrors

Structured dictionary of issues containing two main sections: - `errors`: Array of global validation errors not tied to specific fields - `properties`: Object mapping field names to their specific validation errors, where each field contains an `errors` array

## Examples

**Request**

```json
{}
```

**Response**

```json
{
  "id": "conf_Hk2mX9pQ4rT7vB1nL8sW",
  "label": "escalation-4412",
  "status": "waiting",
  "participant_count": 1,
  "max_participants": 1,
  "hold_audio_url": "string",
  "speaking_events": true,
  "metadata": {},
  "created_at": "2024-01-15T09:30:00Z",
  "started_at": "2024-01-15T09:30:00Z",
  "ended_at": "2024-01-15T09:30:00Z",
  "ended_reason": "empty",
  "participants": [
    {
      "call_id": "call_7cQe4F8xT1yB2mN9pK3L",
      "conference_id": "conf_Hk2mX9pQ4rT7vB1nL8sW",
      "label": "supervisor",
      "status": "dialing",
      "from": "+14155559876",
      "to": "+14155551234",
      "muted": true,
      "on_hold": true,
      "whisper_to": [
        "string"
      ],
      "end_conference_on_leave": true,
      "joined_at": "2024-01-15T09:30:00Z",
      "left_at": "2024-01-15T09:30:00Z",
      "left_reason": "hangup"
    }
  ]
}
```

**SDK Code**

```python
import requests

url = "https://api.pinnacle.sh/conferences/id"

payload = {}
headers = {
    "PINNACLE-API-KEY": "<apiKey>",
    "Content-Type": "application/json"
}

response = requests.patch(url, json=payload, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.pinnacle.sh/conferences/id';
const options = {
  method: 'PATCH',
  headers: {'PINNACLE-API-KEY': '<apiKey>', 'Content-Type': 'application/json'},
  body: '{}'
};

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"
	"strings"
	"net/http"
	"io"
)

func main() {

	url := "https://api.pinnacle.sh/conferences/id"

	payload := strings.NewReader("{}")

	req, _ := http.NewRequest("PATCH", url, payload)

	req.Header.Add("PINNACLE-API-KEY", "<apiKey>")
	req.Header.Add("Content-Type", "application/json")

	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.pinnacle.sh/conferences/id")

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

request = Net::HTTP::Patch.new(url)
request["PINNACLE-API-KEY"] = '<apiKey>'
request["Content-Type"] = 'application/json'
request.body = "{}"

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.patch("https://api.pinnacle.sh/conferences/id")
  .header("PINNACLE-API-KEY", "<apiKey>")
  .header("Content-Type", "application/json")
  .body("{}")
  .asString();
```

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

$client = new \GuzzleHttp\Client();

$response = $client->request('PATCH', 'https://api.pinnacle.sh/conferences/id', [
  'body' => '{}',
  'headers' => [
    'Content-Type' => 'application/json',
    'PINNACLE-API-KEY' => '<apiKey>',
  ],
]);

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

```csharp
using RestSharp;

var client = new RestClient("https://api.pinnacle.sh/conferences/id");
var request = new RestRequest(Method.PATCH);
request.AddHeader("PINNACLE-API-KEY", "<apiKey>");
request.AddHeader("Content-Type", "application/json");
request.AddParameter("application/json", "{}", ParameterType.RequestBody);
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = [
  "PINNACLE-API-KEY": "<apiKey>",
  "Content-Type": "application/json"
]
let parameters = [] as [String : Any]

let postData = JSONSerialization.data(withJSONObject: parameters, options: [])

let request = NSMutableURLRequest(url: NSURL(string: "https://api.pinnacle.sh/conferences/id")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "PATCH"
request.allHTTPHeaderFields = headers
request.httpBody = postData as Data

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()
```