---
title: "Add staffshift context to an existing PABX identifier setting"
method: POST
path: "/system/pabx-identifier-settings/{pabx_identifier_id}/staffshift-context"
tags: ["PABX Identifier Settings"]
---

# Add staffshift context to an existing PABX identifier setting

`POST /system/pabx-identifier-settings/{pabx_identifier_id}/staffshift-context`

## Headers

- `Authorization` string, string, required
- `Context` string, string, required
- `Accept` 'application/json', required
- `X-Accept-Timezone` string
- `If-Match` string

## Request body

- object
  - `context_type` 'Agency' | 'AgencyGroup', required — The type of context (Agency or AgencyGroup)
  - `context_id` string, required — The ID of the context (agency or agency group)

## Response `202`

Staffshift context added to PABX identifier settings successfully

- string

## Other responses

- `400` — Validation error. Usually caused by a missing or invalid parameter.
- `401` — Failed to authenticate the incoming request
- `403` — Permission denied error
- `404` — Resource not found
- `412` — Request precondition failed
- `default` — Server error occurred

---

[API](https://skmtc.dev/staffshift/apis/staffshift-api-gateway.md) · [All operations](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/staffshift/apis/staffshift-api-gateway/revisions/6e2cb83db3a9?raw)
