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

# XblTitleStorageGetQuotaAsync

> XblTitleStorageGetQuotaAsync

# XblTitleStorageGetQuotaAsync

Gets title storage quota information for the specified service configuration and storage type.

## Syntax

```cpp theme={null}
HRESULT XblTitleStorageGetQuotaAsync(  
         XblContextHandle xboxLiveContext,  
         const char* serviceConfigurationId,  
         XblTitleStorageType storageType,  
         XAsyncBlock* async  
)  
```

### Parameters

*xboxLiveContext*   \_In\_\
Type: [XblContextHandle](/reference/live/xsapi-c/types_c/handles/xblcontexthandle)

An xbox live context handle created with XblContextCreateHandle.

*serviceConfigurationId*   \_In\_z\_\
Type: char\*

The Service Configuration ID (SCID) for the title. The SCID is considered case sensitive so paste it directly from the Partner Center.

*storageType*   \_In\_\
Type: [XblTitleStorageType](/reference/live/xsapi-c/title_storage_c/enums/xbltitlestoragetype)

The storage type to get quota information for.

*async*   \_In\_\
Type: XAsyncBlock\*

Caller allocated AsyncBlock.

### Return value

Type: HRESULT

HRESULT return code for this API operation.

## Remarks

For TrustedPlatform storage types, the request will be made for the calling user's XBOX user Id. To get the result, call XblTitleStorageGetQuotaResult inside the AsyncBlock callback or after the AsyncBlock is complete.

## REST Call

V1 GET trustedplatform/users/xuid({xuid})/scids/{scid}\
V1 GET trustedplatform/users/xuid({xuid})/scids/{scid}\
V1 GET json/users/xuid({xuid})/scids/{scid}\
V1 GET global/scids/{scid}

## Requirements

**Header:** title\_storage\_c.h

**Library:** Microsoft.Xbox.Services.14x.GDK.C.lib

## See also

[title\_storage\_c](/reference/live/xsapi-c/title_storage_c/title_storage_c_members)


## Related topics

- [XblTitleStorageGetQuotaResult](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetquotaresult.md)
- [Get quota info for a Title Storage service configuration](/services/xbox-services/storage/title-storage/how-to/live-getting-title-storage-quota-info.md)
- [XblTitleStorageGetBlobMetadataAsync](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetblobmetadataasync.md)
- [XblTitleStorageGetBlobMetadataResult](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestoragegetblobmetadataresult.md)
- [XblTitleStorageBlobMetadataResultGetNextAsync](/reference/live/xsapi-c/title_storage_c/functions/xbltitlestorageblobmetadataresultgetnextasync.md)
