Skip to main content
GET
/
v1
/
user
/
me
GetCurrentUser
curl --request GET \
  --url https://sdk.anghami.com/v1/user/me \
  --header 'Authorization: <authorization>'
{
  "user": {
    "id": {
      "value": "<string>"
    },
    "displayName": "<string>",
    "avatar": {
      "url": "<string>",
      "width": 123,
      "height": 123
    },
    "age": 123
  }
}

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 user operations. Format: Bearer <access_token>.

Example:

"Bearer eyJhbGciOiJSUzI1NiIs..."

Accept-Language
string

Preferred locale for localized content (BCP 47).

Example:

"ar"

Response

Successful response

GetCurrentUserResponse is the response message containing the authenticated user's profile.

user
object

User represents the authenticated user's profile information.