> For the complete documentation index, see [llms.txt](https://docs.digitalriver.com/commerce-api/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.digitalriver.com/commerce-api/shopper-apis/subscriptions/retrieve-the-subscription/getting-a-subscriptions-pending-actions.md).

# Getting a subscription's pending actions

Our Digital River Commerce API allows you to examine the pending actions for a specific subscription. This document explains how to effectively use the API to retrieve such information, ensuring the status of your subscriptions is up to date.

To retrieve a subscription's pending actions in Digital River's API, send a  [`GET /v1/subscriptions/{subscriptionId}/pending-actions`](https://docs.digitalriver.com/commerce-api-references/shopper-apis/subscriptions/pending-actions#v1-subscriptions-subid-pending-actions) request and include the `{subscriptionId}` you want to query. Ensure you have the necessary authorization header included in your request.

Here's an example using cURL:

{% tabs %}
{% tab title="cURL" %}

```javascript
curl --location --request GET 'https://api.digitalriver.com/v1/subscriptions/{subscriptionId}/pending-actions' \
--header 'Content-Type: application/json' \
--header 'Authorization: Basic {Your_Authorization}' \
```

{% endtab %}
{% endtabs %}

The server responds with a `202 Accepted` status code, indicating your request to retrieve the pending actions for the specified subscription ID, was accepted and is being processed.
