---
title: "Update SIP bridge settings"
method: POST
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/settings/sip"
tags: ["settings"]
---

# Update SIP bridge settings

`POST /ocs/v2.php/apps/spreed/api/{apiVersion}/settings/sip`

This endpoint requires admin access

## Path parameters

- `apiVersion` 'v1', required

## Headers

- `OCS-APIRequest` boolean, required

## Request body

- object
  - `sipGroups` string[] — New SIP groups
  - `dialInInfo` string — New dial info
  - `sharedSecret` string — New shared secret

## Response `200`

Successfully set new SIP settings

- object
  - `ocs` object, required
    - `meta` OCSMeta, required
      - `status` string, required
      - `statuscode` integer, required
      - `message` string
      - `totalitems` string
      - `itemsperpage` string
    - `data` unknown, required

## Other responses

- `401` — Current user is not logged in
- `403` — Logged in account must be an admin

## Changes

- **2025-08-30** `c4bb3681740a` — 2 info
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
- **2024-11-20** `5a33db2532e3` — 1 breaking
  - the response property `ocs/data` became nullable for the status `200`
- **2024-07-23** `06ef252f6ebe` — 3 warning, 1 info
  - deleted the `query` request parameter `dialInInfo`
  - deleted the `query` request parameter `sharedSecret`
  - deleted the `query` request parameter `sipGroups[]`
  - added optional request body

[Change history](https://skmtc.dev/nextcloud/apis/spreed-administration/changes/ocs/v2.php/apps/spreed/api/:apiVersion/settings/sip/post.md)

---

[API](https://skmtc.dev/nextcloud/apis/spreed-administration.md) · [All operations](https://skmtc.dev/nextcloud/apis/spreed-administration/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/nextcloud/spreed-administration/revisions/470ddf348b55/schema)
