API: Provisioning Profiles

This Developer API lets you update the provisioning profile of a version (only for iOS apps). All endpoints require authentication with an API token.

Upload Profile

POST /api/2/apps/APP_ID/provisioning_profiles

This API lets you add a new provisioning profile to the latest version of an existing iOS app.

Parameters:

  • mobileprovision - required, the provisioning profile as a file

Example:

curl \
  -F "mobileprovision=@HockeyDemo.mobileprovision" \
  -H "X-HockeyAppToken: 4567abcd8901ef234567abcd8901ef23" \
  https://rink.hockeyapp.net/api/2/apps/1234567890abcdef1234567890abcdef/provisioning_profiles

Response:

Status: 201
Body:
{
    "devices": [
        "1234567890ABCDEF1234567890ABCDEF12345678",
        "ABCDEF1234567890ABCDEF1234567890ABCDEF12"
    ],
    "timestamp": 1319045366,
    "version": "1.0 (23)"
}

The array devices includes all UDIDs of your profile.