---
title: "Add subject writer"
method: POST
path: "/subjects/{key}/writers"
tags: ["subjects"]
---

# Add subject writer

`POST /subjects/{key}/writers`

Add one or more users to a subjects list of authorized writers.

## Path parameters

- `key` string, required

## Request body

- string[] — User name

## Response `201`

One or more of the valid users were added to the list of authorized writers.

- SubjectWriterResponse[]
  - `subjectId` string — Id of a write-protected subject
  - `userId` string — Id of a user having write permission to the subject
  - `createdAt` string — Timestamp at which the the write permission was created
  - `updatedAt` string — Timestamp at which the the write permission was modified

## Other responses

- `400` — Bad Request
- `401` — Authentication Error
- `403` — Forbidden
- `404` — Forbidden
- `default` — Error

---

[API](https://skmtc.net/salesforce/apis/refocus-api.md) · [All operations](https://skmtc.net/salesforce/apis/refocus-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/salesforce/refocus-api/versions/42c2153b047e/schema)
