---
title: "Apply an App Store subscription to the workspace"
method: POST
path: "/api/v1/billing/apple"
---

# Apply an App Store subscription to the workspace

`POST /api/v1/billing/apple`

## Request

- Base URL: `https://deskcrew.io`
- URL: `https://deskcrew.io/api/v1/billing/apple`
- Auth: HTTP bearer

Takes the StoreKit 2 signed transaction; the server verifies it and sets the plan. Admins only, and refused while a web subscription is live. Needs the tickets:write scope. Requires the `tickets:write` scope.

## Request body

- object: signedTransaction: string, required

## Response `200`

Success

## Other responses

- `401`: Missing or invalid API key
- `403`: The key does not hold the required scope
- `404`: Not found in this workspace
- `429`: Rate limited

---

[API](https://skmtc.dev/deskcrew/apis/deskcrew-api.md) · [All operations](https://skmtc.dev/deskcrew/apis/deskcrew-api/llms.txt) · [OpenAPI document](https://skmtc.dev/deskcrew/apis/deskcrew-api/revisions/596579519de0?raw)
