Skip to main content
POST
/
v1
/
video
/
episodes:batchGet
BatchGetEpisodes
curl --request POST \
  --url https://sdk.anghami.com/v1/video/episodes:batchGet \
  --header 'Content-Type: application/json' \
  --data '
{
  "episodeIdList": [
    {
      "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

OAuth 2.0 Bearer token for user-authenticated requests. Format: Bearer <access_token>. Optional if x-api-key is provided.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

x-api-key
string

API key for server-to-server access without user context. Optional if Authorization is provided.

Example:

"ang_live_..."

Accept-Language
string

Preferred locale for localized content (BCP 47). Determines which language variant is returned for LocalizedString fields.

Example:

"ar"

Body

application/json

BatchGetEpisodesRequest is the request message for retrieving multiple episodes by ID.

episodeIdList
object[]
Required array length: 1 - 100 elements

Response

Successful response

BatchGetEpisodesResponse contains the results for each requested episode ID. Each ID maps to either the episode entity or an error.

results
object

Map from requested episode ID to the result. Keys match the IDs from the request.