<!--
{
  "availability" : [
    "iOS: 7.0.0 -",
    "iPadOS: 7.0.0 -",
    "macCatalyst: 7.0.0 -",
    "macOS: 10.9.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "DeviceManagement",
  "identifier" : "/documentation/DeviceManagement/Invite-To-Program-Command",
  "metadataVersion" : "0.1.0",
  "role" : "Web Service Endpoint",
  "symbol" : {
    "kind" : "Web Service Endpoint",
    "modules" : [
      "Device Management"
    ],
    "preciseIdentifier" : "rest:put:mdm#InviteToProgramCommand"
  },
  "title" : "Invite To Program"
}
-->

# Invite To Program

Invite a user to join the Volume Purchase Program (VPP).

## Discussion

This command allows a server to invite a user to join the Volume Purchase Program (VPP). It issues the invitation, but doesn’t allow the server to monitor whether the user joins the program. This command yields a `NotNow` status if Setup Assistant is running.

The command doesn’t work with Account Driven enrollments.

Refer to the following sections to determine supported channels and requirements, and to see an example request and response.

### Command availability

|||
|--------------------------|--------------------|
|Device channel            |iOS                 |
|User channel              |macOS, Shared iPad  |
|Requires supervision      |macOS               |
|Allowed in user enrollment|N/A                 |
|Required access right     |AllowAppInstallation|

### Example request and response

**Request:**

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>Command</key>
    <dict>
        <key>InvitationURL</key>
        <string>https://invite.example.com/invitation?id=39E92FBA-C853-4973-9922-17AF04DDDB3C</string>
        <key>ProgramID</key>
        <string>com.apple.cloudvpp</string>
        <key>RequestType</key>
        <string>InviteToProgram</string>
    </dict>
    <key>CommandUUID</key>
    <string>0001_InviteToProgram</string>
</dict>
</plist>
```

**Response:**

```plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
    <key>CommandUUID</key>
    <string>0001_InviteToProgram</string>
    <key>InvitationResult</key>
    <string>Acknowledged</string>
    <key>Status</key>
    <string>Acknowledged</string>
    <key>UDID</key>
    <string>00008020-000915083C80012E</string>
</dict>
</plist>
```

## Topics

### Commands and responses

[`object InviteToProgramCommand`](/documentation/DeviceManagement/InviteToProgramCommand)

The command to invite a user to join the Volume Purchase Program (VPP).

[`object InviteToProgramResponse`](/documentation/DeviceManagement/InviteToProgramResponse)

A response from the device after it processes the command to invite a user to join the Volume Purchase Program (VPP).



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)