---
title: "Accept a Schema App Invitation"
method: PUT
path: "/invites/schemaApp/{shortCode}/accept"
tags: ["SchemaApps"]
---

# Accept a Schema App Invitation

`PUT /invites/schemaApp/{shortCode}/accept`

## Request

- Base URL: `https://api.smartthings.com/v1`
- URL: `https://api.smartthings.com/v1/invites/schemaApp/{shortCode}/accept`
- Auth: one of:
  - OAuth 2
    - Implicit: `https://auth-global.api.smartthings.com`
    - Scopes: `mobile`
  - OAuth 2
    - Implicit: `https://auth-global.api.smartthings.com`
    - Scopes: `w:invitations`
- TypeScript: <https://skmtc.dev/smartthings/apis/smartthings-api/docs/invites/schemaApp/:shortCode/accept/put.ts> (a function with typed inputs; its response is checked against the schema)

## Path parameters

- `shortCode` string, required

## Response `200`

Success

- AcceptSchemaAppInviteResponse: Response from Accept schema app request
  - `schemaAppId` string: The unique Id of the schema app

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `429`: Too many requests
- `default`: Unexpected error

## Changes

- **2026-11-07** `2788a4236800`: 2 info
  - the security scope `mobile` was added to the endpoint's security scheme `Bearer`
  - the security scope `w:invitations` was removed from the endpoint's security scheme `Bearer`
- **2026-07-27** `145c21700100`: 2 info
  - the security scope `mobile` was added to the endpoint's security scheme `Bearer`
  - the security scope `w:invitations` was removed from the endpoint's security scheme `Bearer`
- **2026-01-22** `6acc46f51053`: 2 info
  - the security scope `mobile` was added to the endpoint's security scheme `Bearer`
  - the security scope `w:invitations` was removed from the endpoint's security scheme `Bearer`

[Operation history](https://skmtc.dev/smartthings/apis/smartthings-api/changes/invites/schemaApp/:shortCode/accept/put.md)

---

[API](https://skmtc.dev/smartthings/apis/smartthings-api.md) - [All operations](https://skmtc.dev/smartthings/apis/smartthings-api/llms.txt) - [OpenAPI document](https://skmtc.dev/smartthings/apis/smartthings-api/revisions/2788a4236800?raw)
