---
title: Get the primary category ID for an app info
framework: appstoreconnectapi
role: symbol
role_heading: Web Service Endpoint
path: appstoreconnectapi/get-v1-appinfos-_id_-relationships-primarycategory
---

# Get the primary category ID for an app info

## URL

GET https://api.appstoreconnect.apple.com/v1/appInfos/{id}/relationships/primaryCategory

## Path Parameters

id:

## Response Codes

200 OK: 400 Bad Request: 401 Unauthorized: 403 Forbidden: 404 Not Found: 429 :

## See Also

### Reading Categories

- [Read the primary category information of an app info](appstoreconnectapi/get-v1-appinfos-_id_-primarycategory.md)
- [Read the secondary category information of an app info](appstoreconnectapi/get-v1-appinfos-_id_-secondarycategory.md)
- [Get the secondary category ID for an app info](appstoreconnectapi/get-v1-appinfos-_id_-relationships-secondarycategory.md)
