---
updatedAt: 2026-10-29T11:54:48.000Z
agentTools:
  projectIndex: https://docs.yotpo.com/llms.txt
---

# Retrieve app subscription by ID

Retrieve an app webhook subscription using its Yotpo ID

> 👍 How to use this endpoint
>
> For example responses, click the relevant status code on the right.

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "App partners API",
    "description": "Endpoints for apps that Yotpo merchants install. The app-level webhook is defined separately, in webhooks.json.",
    "version": "2"
  },
  "servers": [
    {
      "url": "https://developers.yotpo.com"
    }
  ],
  "security": [
    {
      "X-Yotpo-Token": []
    }
  ],
  "x-readme": {
    "headers": [],
    "explorer-enabled": false,
    "proxy-enabled": true
  },
  "paths": {
    "/core/v3/applications/{application_id}/webhooks/subscriptions/{yotpo_subscription_id}": {
      "get": {
        "summary": "Retrieve app subscription by ID",
        "description": "Retrieve an app webhook subscription using its Yotpo ID",
        "operationId": "retrieve-app-subscription-by-id",
        "parameters": [
          {
            "name": "application_id",
            "in": "path",
            "description": "Your app's client ID: the 32-character ID you received when you registered your app, the same value you send as `client_id` to [Generate Access Token](ref:generate-a-token). It isn't the numeric app ID: that returns `403 {\"message\": \"Forbidden\"}`.",
            "schema": {
              "type": "string"
            },
            "required": true,
            "example": "YOUR_CLIENT_ID"
          },
          {
            "name": "yotpo_subscription_id",
            "in": "path",
            "description": "The ID of the subscription to get",
            "schema": {
              "type": "string"
            },
            "required": true
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  \"webhook_subscription\": {\n    \"yotpo_id\": 3245,\n    \"target_id\": 9876,\n    \"filter_id\": 6792,\n    \"active\": true,\n    \"created_at\": \"2021-10-03T17:14:23Z\",\n    \"updated_at\": \"2021-10-03T17:14:23Z\"\n  }\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "webhook_subscription": {
                      "type": "object",
                      "properties": {
                        "yotpo_id": {
                          "type": "integer",
                          "example": 3245,
                          "default": 0,
                          "description": "The Yotpo ID of the subscription."
                        },
                        "target_id": {
                          "type": "integer",
                          "example": 9876,
                          "default": 0,
                          "description": "The Yotpo ID of the target that receives the events."
                        },
                        "filter_id": {
                          "type": "integer",
                          "example": 6792,
                          "default": 0,
                          "description": "The Yotpo ID of the filter that selects the events."
                        },
                        "active": {
                          "type": "boolean",
                          "example": true,
                          "default": true,
                          "description": "Whether the subscription is sending events."
                        },
                        "created_at": {
                          "type": "string",
                          "example": "2021-10-03T17:14:23Z",
                          "description": "When the subscription was created (UTC, ISO 8601)."
                        },
                        "updated_at": {
                          "type": "string",
                          "example": "2021-10-03T17:14:23Z",
                          "description": "When the subscription was last updated (UTC, ISO 8601)."
                        }
                      },
                      "description": "The subscription."
                    }
                  }
                }
              }
            }
          },
          "401": {
            "description": "Missing or invalid access token. Send a valid token in the `X-Yotpo-Token` header.",
            "content": {
              "application/json": {
                "examples": {
                  "Missing token": {
                    "summary": "No token sent (or sent as Authorization: Bearer)",
                    "value": {
                      "error": "invalid_request",
                      "error_description": "The access token is missing"
                    }
                  },
                  "Invalid token": {
                    "summary": "Token unknown, revoked or for another app",
                    "value": {
                      "error": "invalid_token",
                      "error_description": "The access token is invalid or has expired"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "error": {
                      "type": "string",
                      "description": "OAuth error code: `invalid_request` when no token was sent, `invalid_token` when the token is unknown, revoked or expired.",
                      "enum": [
                        "invalid_request",
                        "invalid_token"
                      ]
                    },
                    "error_description": {
                      "type": "string",
                      "description": "Human-readable reason for the error."
                    }
                  }
                }
              }
            }
          },
          "403": {
            "description": "`application_id` isn't your app's client ID (for example, you sent the numeric app ID).",
            "content": {
              "application/json": {
                "examples": {
                  "Wrong application_id": {
                    "value": {
                      "message": "Forbidden"
                    }
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "message": {
                      "type": "string",
                      "description": "Always `Forbidden`."
                    }
                  }
                }
              }
            }
          },
          "404": {
            "description": "404",
            "content": {
              "application/json": {
                "examples": {
                  "Subscription not found": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"webhook subscription not found\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "description": "The errors. Usually one item.",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "description": "Says which object wasn't found. Meant for logs; the wording can change, so don't parse it."
                          }
                        }
                      }
                    }
                  }
                }
              }
            }
          },
          "500": {
            "description": "500",
            "content": {
              "application/json": {
                "examples": {
                  "Unexpected error": {
                    "value": "{\n  \"errors\": [\n    {\n      \"message\": \"unexpected error, try again later\"\n    }\n  ]\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "errors": {
                      "type": "array",
                      "items": {
                        "type": "object",
                        "properties": {
                          "message": {
                            "type": "string",
                            "example": "unexpected error, try again later",
                            "description": "A general error message. Retry with backoff."
                          }
                        }
                      },
                      "description": "The errors. Usually one item."
                    }
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "components": {
    "securitySchemes": {
      "X-Yotpo-Token": {
        "type": "apiKey",
        "in": "header",
        "name": "X-Yotpo-Token",
        "description": "Send your app's access token for the merchant's store in the `X-Yotpo-Token` header of every request. To get a token, see [Generate Access Token](ref:generate-a-token). The API also reads the token from an `access_token` query parameter, but that isn't recommended: URLs end up in server and proxy logs. `Authorization: Bearer` is not supported."
      }
    }
  }
}
```

# Sibling pages

* [Create app subscription](https://docs.yotpo.com/reference/create-app-subscription.md)
* [Retrieve app subscriptions](https://docs.yotpo.com/reference/retrieve-app-subscriptions.md)
* [Update app subscription](https://docs.yotpo.com/reference/update-app-subscription.md)
* [Delete app subscription](https://docs.yotpo.com/reference/delete-app-subscription.md)