---
updatedAt: 2025-09-15T09:14:12.000Z
agentTools:
  siteIndex: https://developer.jamf.com/llms.txt
  projectIndex: https://developer.jamf.com/jamf-pro/v11.14.0/llms.txt
---

# Create a Mobile Device Prestage

Create a mobile device prestage

> ❗️ Deprecation Notice
>
> This endpoint has been deprecated and will be removed in a future version of Jamf Pro. Please update your application to use the newest version of [this endpoint](https://developer.jamf.com/jamf-pro/reference/post_v2-mobile-device-prestages).

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "Jamf Pro API",
    "termsOfService": "https://www.jamf.com/developer-resources/api-license-agreement",
    "version": "11.14.0"
  },
  "servers": [
    {
      "url": "https://yourServer.jamfcloud.com/api"
    }
  ],
  "x-readme": {
    "samples-languages": [
      "curl",
      "swift",
      "ruby",
      "python"
    ],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "security": [
    {
      "Bearer": []
    },
    {
      "ApiClient": []
    },
    {
      "BasicAuth": [
        "/v1/auth/token"
      ]
    }
  ],
  "paths": {
    "/v1/mobile-device-prestages": {
      "post": {
        "tags": [
          "mobile-device-prestages"
        ],
        "summary": "Create a Mobile Device Prestage\n",
        "description": "Create a mobile device prestage",
        "requestBody": {
          "description": "Mobile Device Prestage to create. ids defined in this body will be ignored",
          "content": {
            "application/json": {
              "schema": {
                "$ref": "#/components/schemas/MobileDevicePrestage"
              }
            }
          },
          "required": true
        },
        "responses": {
          "201": {
            "description": "Mobile Device Prestage was created",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/GetMobileDevicePrestage"
                }
              }
            }
          }
        },
        "deprecated": true,
        "x-deprecation-date": "2020-04-07",
        "x-required-privileges": [
          "Create Mobile Device PreStage Enrollments"
        ]
      }
    }
  },
  "components": {
    "schemas": {
      "DeviceEnrollmentPrestage": {
        "required": [
          "authenticationPrompt",
          "department",
          "deviceEnrollmentProgramInstanceId",
          "displayName",
          "enrollmentSiteId",
          "isDefaultPrestage",
          "isEnableDeviceBasedActivationLock",
          "isKeepExistingLocationInformation",
          "isKeepExistingSiteMembership",
          "isMandatory",
          "isMdmRemovable",
          "isPreventActivationLock",
          "isRequireAuthentication",
          "locationInformation",
          "purchasingInformation",
          "supportEmailAddress",
          "supportPhoneNumber"
        ],
        "type": "object",
        "properties": {
          "displayName": {
            "type": "string",
            "example": "Example Mobile Prestage Name"
          },
          "isMandatory": {
            "type": "boolean",
            "example": false
          },
          "isMdmRemovable": {
            "type": "boolean",
            "example": true
          },
          "supportPhoneNumber": {
            "type": "string",
            "example": "5555555555"
          },
          "supportEmailAddress": {
            "type": "string",
            "example": "example@example.com"
          },
          "department": {
            "type": "string",
            "example": "Oxbow"
          },
          "isDefaultPrestage": {
            "type": "boolean",
            "example": false
          },
          "enrollmentSiteId": {
            "type": "integer",
            "example": -1
          },
          "isKeepExistingSiteMembership": {
            "type": "boolean",
            "example": true
          },
          "isKeepExistingLocationInformation": {
            "type": "boolean",
            "example": true
          },
          "isRequireAuthentication": {
            "type": "boolean",
            "example": true
          },
          "authenticationPrompt": {
            "type": "string",
            "example": "LDAP authentication prompt"
          },
          "isPreventActivationLock": {
            "type": "boolean",
            "example": true
          },
          "isEnableDeviceBasedActivationLock": {
            "type": "boolean",
            "example": true
          },
          "deviceEnrollmentProgramInstanceId": {
            "type": "integer",
            "example": 5
          },
          "skipSetupItems": {
            "type": "object",
            "additionalProperties": {
              "type": "boolean"
            },
            "example": {
              "Location": true,
              "Privacy": false
            }
          },
          "locationInformation": {
            "$ref": "#/components/schemas/LocationInformation"
          },
          "purchasingInformation": {
            "$ref": "#/components/schemas/PrestagePurchasingInformation"
          },
          "anchorCertificates": {
            "type": "array",
            "description": "The Base64 encoded PEM Certificate",
            "items": {
              "type": "string",
              "example": "xNE5HRgotLS0tLUVORCBDRVJUSUZJQ0FURS0tLS0tCg=="
            }
          },
          "enrollmentCustomizationId": {
            "type": "integer",
            "example": 2
          }
        }
      },
      "GetMobileDevicePrestage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/MobileDevicePrestage"
          },
          {
            "type": "object",
            "properties": {
              "id": {
                "type": "integer",
                "example": 1
              },
              "profileUUID": {
                "type": "string",
                "example": "29d-a8d8f-b8sdjndf-dsa9"
              },
              "siteId": {
                "type": "integer",
                "example": 5
              },
              "versionLock": {
                "type": "integer",
                "example": 0
              }
            }
          }
        ]
      },
      "LocationInformation": {
        "required": [
          "buildingId",
          "departmentId",
          "email",
          "id",
          "phone",
          "position",
          "realname",
          "room",
          "username",
          "versionLock"
        ],
        "type": "object",
        "properties": {
          "username": {
            "type": "string",
            "example": "name"
          },
          "realname": {
            "type": "string",
            "example": "realName"
          },
          "phone": {
            "type": "string",
            "example": "123-456-7890"
          },
          "email": {
            "type": "string",
            "example": "test@jamf.com"
          },
          "room": {
            "type": "string",
            "example": "room"
          },
          "position": {
            "type": "string",
            "example": "postion"
          },
          "departmentId": {
            "type": "integer",
            "example": 1
          },
          "buildingId": {
            "type": "integer",
            "example": 1
          },
          "id": {
            "type": "integer",
            "example": 0
          },
          "versionLock": {
            "type": "integer",
            "example": 1
          }
        }
      },
      "MobileDevicePrestage": {
        "allOf": [
          {
            "$ref": "#/components/schemas/DeviceEnrollmentPrestage"
          },
          {
            "required": [
              "isAllowPairing",
              "isAutoAdvanceSetup",
              "isConfigureDeviceBeforeSetupAssistant",
              "isMultiUser",
              "isSupervised",
              "maximumSharedAccounts"
            ],
            "type": "object",
            "properties": {
              "isAllowPairing": {
                "type": "boolean",
                "example": true
              },
              "isMultiUser": {
                "type": "boolean",
                "example": true
              },
              "isSupervised": {
                "type": "boolean",
                "example": true
              },
              "maximumSharedAccounts": {
                "type": "integer",
                "example": 10
              },
              "isAutoAdvanceSetup": {
                "type": "boolean",
                "example": true
              },
              "isConfigureDeviceBeforeSetupAssistant": {
                "type": "boolean",
                "example": true
              },
              "language": {
                "type": "string",
                "example": "en"
              },
              "region": {
                "type": "string",
                "example": "US"
              },
              "names": {
                "$ref": "#/components/schemas/MobileDevicePrestageNames"
              }
            }
          }
        ]
      },
      "MobileDevicePrestageName": {
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 1
          },
          "deviceName": {
            "type": "string",
            "example": "iPad"
          },
          "isUsed": {
            "type": "boolean",
            "example": false
          }
        }
      },
      "MobileDevicePrestageNames": {
        "type": "object",
        "properties": {
          "assignNamesUsing": {
            "type": "string",
            "example": "List of Names"
          },
          "prestageDeviceNames": {
            "type": "array",
            "items": {
              "$ref": "#/components/schemas/MobileDevicePrestageName"
            }
          },
          "deviceNamePrefix": {
            "type": "string",
            "example": "prefix"
          },
          "deviceNameSuffix": {
            "type": "string",
            "example": "suffix"
          },
          "singleDeviceName": {
            "type": "string",
            "example": "name"
          },
          "isManageNames": {
            "type": "boolean",
            "example": true
          },
          "isDeviceNamingConfigured": {
            "type": "boolean",
            "example": true
          }
        }
      },
      "PrestagePurchasingInformation": {
        "required": [
          "appleCareID",
          "id",
          "isLeased",
          "isPurchased",
          "leaseDate",
          "lifeExpectancy",
          "poDate",
          "poNumber",
          "purchasePrice",
          "purchasingAccount",
          "purchasingContact",
          "vendor",
          "versionLock",
          "warrantyDate"
        ],
        "type": "object",
        "properties": {
          "id": {
            "type": "integer",
            "example": 0
          },
          "isLeased": {
            "type": "boolean",
            "example": true
          },
          "isPurchased": {
            "type": "boolean",
            "example": true
          },
          "appleCareID": {
            "type": "string",
            "example": "abcd"
          },
          "poNumber": {
            "type": "string",
            "example": "53-1"
          },
          "vendor": {
            "type": "string",
            "example": "Example Vendor"
          },
          "purchasePrice": {
            "type": "string",
            "example": "$500"
          },
          "lifeExpectancy": {
            "type": "integer",
            "example": 5
          },
          "purchasingAccount": {
            "type": "string",
            "example": "admin"
          },
          "purchasingContact": {
            "type": "string",
            "example": "true"
          },
          "leaseDate": {
            "type": "string",
            "example": "2019-01-01"
          },
          "poDate": {
            "type": "string",
            "example": "2019-01-01"
          },
          "warrantyDate": {
            "type": "string",
            "example": "2019-01-01"
          },
          "versionLock": {
            "type": "integer",
            "example": 1
          }
        }
      }
    },
    "securitySchemes": {
      "Bearer": {
        "type": "http",
        "scheme": "bearer",
        "bearerFormat": "JWT"
      },
      "BasicAuth": {
        "type": "http",
        "description": "Basic auth is used only for obtaining bearer tokens from the /v1/auth/token endpoint",
        "scheme": "basic"
      },
      "ApiClient": {
        "type": "oauth2",
        "description": "Jamf Pro API Roles and Clients provide a client ID and secret for obtaining access tokens using the OAuth2 client_credentials grant type",
        "flows": {
          "clientCredentials": {
            "tokenUrl": "/api/v1/oauth/token",
            "scopes": {}
          }
        }
      }
    }
  },
  "x-si-base": "swagger.json",
  "x-github-repo": "jamf/Jamf-Pro-API-Schema",
  "x-github-sha": "5f8b85a61ce288205f7b44d478a117fb1acea0c6"
}
```