# ProvisioningDeviceClient API

> ProvisioningDeviceClient API on Apizie: 3 endpoints (Gets the device registration status., Gets the registration operation status., Registers the devices and optionally issue operational certificates for IoT devices.) returned as clean JSON through one API key. Send your own provider key in the x-upstream-key header. Call it over REST at https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services/{endpoint} or from Claude, ChatGPT and Cursor through the Apizie MCP server. Free plan: 1,000 requests a month.

- Project key: `cloud:azure-deviceprovisioningservices-device-provisioning-services`
- Category: Cloud
- Status: byok
- Source: https://learn.microsoft.com/rest/api/azure/
- Page: https://apizie.tech/api/cloud/azure-deviceprovisioningservices-device-provisioning-services
- OpenAPI: https://apizie.tech/api/cloud/azure-deviceprovisioningservices-device-provisioning-services/openapi.json

API for device runtime operations with the Azure IoT Hub Device Provisioning Service

## Endpoints

### Gets the device registration status.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services/runtime-registration-device-registration-status-lookup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| registrationId | string | yes | Registration ID. |
| idScope | string | yes | The scope of the DPS instance. |
| body | object | yes | JSON request body |

### Gets the registration operation status.
`GET https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services/runtime-registration-operation-status-lookup` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| registrationId | string | yes | Registration ID. |
| operationId | string | yes | Operation ID. |
| idScope | string | yes | The scope of the DPS instance. |

### Registers the devices and optionally issue operational certificates for IoT devices.
`POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services/runtime-registration-register-device-and-issue-certificate` (byok)

| Parameter | Type | Required | Description |
|---|---|---|---|
| api-version | string | no | The API version to use for this operation. |
| registrationId | string | yes | The registration ID is alphanumeric, lowercase, and may contain hyphens. |
| idScope | string | yes | The scope of the DPS instance. |
| body | object | yes | JSON request body |

## Example
```
curl "https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services/runtime-registration-device-registration-status-lookup" \
  -H "x-api-key: $APIZIE_KEY" \
  -H "x-upstream-key: $PROVIDER_KEY"
```

## FAQ

### How do I call the ProvisioningDeviceClient API?
Create a free Apizie key, then send POST https://apizie.tech/v1/cloud:azure-deviceprovisioningservices-device-provisioning-services/runtime-registration-device-registration-status-lookup with the header x-api-key. Every endpoint returns { project, data, timestamp }.

### Is the ProvisioningDeviceClient API free on Apizie?
Yes. The Free plan includes 1,000 requests a month at 100 requests a minute, no credit card. ProvisioningDeviceClient itself also needs your own key from azure.com.

### Can AI agents use the ProvisioningDeviceClient API?
Yes. Add the Apizie MCP server (https://apizie.tech/mcp) to Claude, ChatGPT, Cursor or VS Code, then ask in plain language. The agent calls run_scraper with project key cloud:azure-deviceprovisioningservices-device-provisioning-services.

### What is the status of the ProvisioningDeviceClient API?
Needs your own provider key (bring your own key)
