> ## Documentation Index
> Fetch the complete documentation index at: https://docs.blinkops.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Device Serial Numbers

Get a list of device serial numbers assigned to a device management service by its ID.

> [!NOTE]
>
> External Documentation
>
> To learn more, visit the [Apple Business Manager documentation](https://developer.apple.com/documentation/applebusinessmanagerapi/get-all-device-ids-for-a-device-management-service).

## Parameters

| Parameter | Description |
| - | - |
| Cursor | The cursor to the next page of results. Retrieve this value from the `nextCursor` property of a previous response to fetch subsequent data. |
| Device Management Service ID | The ID of the device management service to list device serial numbers from. |
| Limit | The maximum number of resources to retrieve in the response. The maximum value is `1000`. |
| Return All Pages | Automatically fetch all resources, page by page. |

## Example Output

```json theme={"dark"}
{
	"data": [
		{
			"type": "orgDevices",
			"id": "XABC123X0ABC123X0"
		}
	],
	"links": {
		"self": "https://api-business.apple/v1/mdmServers/1F97349736CF4614A94F624E705841AD/relationships/devices",
		"next": "https://api-business.apple/v1/mdmServers/1F97349736CF4614A94F624E705841AD/relationships/devices?cursor=MDowOjE3NDYxMTg0NjkzOTc6MTc0NjExODQ2OTM5Nzp0cnVlOmZhbHNlOjE3NDYxMTg0NjkzOTc",
		"related": "https://api-business.apple/v1/mdmServers/1F97349736CF4614A94F624E705841AD/devices"
	},
	"meta": {
		"paging": {
			"nextCursor": "MDowOjE3NDYxMTg0NjkzOTc6MTc0NjExODQ2OTM5Nzp0cnVlOmZhbHNlOjE3NDYxMTg0NjkzOTc",
			"limit": 100
		}
	}
}
```
