Skip to main content
POST
/
v1
/
library
/
saved:check
CheckSavedItems
curl --request POST \
  --url https://sdk.anghami.com/v1/library/saved:check \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "showIds": {
    "values": [
      {
        "value": "<string>"
      }
    ]
  },
  "movieIds": {
    "values": [
      {
        "value": "<string>"
      }
    ]
  }
}
'
{
  "results": {}
}

Documentation Index

Fetch the complete documentation index at: https://docs.sdk.anghami.com/llms.txt

Use this file to discover all available pages before exploring further.

Headers

Authorization
string
required

OAuth 2.0 Bearer token with the 'read' scope. Required for all library operations. Format: Bearer <access_token>.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

Accept-Language
string

Preferred locale for localized content in returned items (BCP 47).

Example:

"ar"

Body

application/json

CheckSavedItemsRequest is the request message for checking whether items are in the user's saved collection. Only movies and shows can be saved.

showIds
object

ShowIDList is a list of show identifiers for batch operations.

movieIds
object

MovieIDList is a list of movie identifiers for batch operations.

Response

Successful response

CheckSavedItemsResponse is the response message indicating which items are saved.

results
object

Map of item ID to saved status. Every requested ID appears in this map. True indicates the item is in the user's saved collection.