Skip to main content
POST
/
v1
/
library
/
following
/
artists:check
CheckFollowedArtists
curl --request POST \
  --url https://sdk.anghami.com/v1/library/following/artists:check \
  --header 'Authorization: <authorization>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "artistIds": {
    "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

CheckFollowedArtistsRequest is the request message for checking whether artists are followed by the user.

artistIds
object

ArtistIDList is a list of artist identifiers for batch operations.

Response

Successful response

CheckFollowedArtistsResponse is the response message indicating which artists are followed.

results
object

Map of artist ID to followed status. Every requested ID appears in this map. True indicates the user follows this artist.