Skip to content

Latest commit

 

History

History
84 lines (62 loc) · 1.43 KB

File metadata and controls

84 lines (62 loc) · 1.43 KB
title Retrieve current user
description List retrieve current user via Plane API. HTTP GET request with pagination, filtering, and query parameters.
keywords plane api, get current user, user profile, authenticated user, user details, rest api, api integration

Retrieve current user

GET /api/v1/users/me/

Retrieves information about the currently authenticated user.

Scopes

profile:read

curl -X GET \
  "https://api.plane.so/api/v1/users/me/" \
  -H "X-API-Key: $PLANE_API_KEY"
import requests

response = requests.get(
    "https://api.plane.so/api/v1/users/me/",
    headers={"X-API-Key": "your-api-key"}
)
print(response.json())
const response = await fetch(
  "https://api.plane.so/api/v1/users/me/",
  {
    method: "GET",
    headers: {
      "X-API-Key": "your-api-key"
    }
  }
);
const data = await response.json();
{
  "id": "resource-uuid",
  "created_at": "2024-01-01T00:00:00Z"
}