---
title: "Join call on the host server using the session id of the federated user"
method: POST
path: "/ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/federation"
tags: ["call"]
---

# Join call on the host server using the session id of the federated user

`POST /ocs/v2.php/apps/spreed/api/{apiVersion}/call/{token}/federation`

## Path parameters

- `apiVersion` 'v4', required
- `token` string, required

## Headers

- `OCS-APIRequest` boolean, required

## Request body

- object
  - `sessionId` string, required — Federated session id to join with
  - `flags` integer, nullable — In-Call flags
  - `silent` boolean — Join the call silently
  - `recordingConsent` boolean — Agreement to be recorded

## Response `200`

Call joined successfully

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

## Other responses

- `400` — Conditions to join not met
- `404` — Call not found

---

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