Current user
Use this endpoint to confirm which workspace an API key belongs to and to fetch its plan and connected accounts summary.
Endpoint
Section titled “Endpoint”GET /api/v1/meRequest
Section titled “Request”curl https://app.nativpost.com/api/v1/me \ -H "Authorization: Bearer $NATIVPOST_API_KEY"Response
Section titled “Response”{ "object": "workspace", "id": "org_2gK9c7dL3eX8fY1a", "name": "Acme Studio", "plan": "pro", "plan_status": "active", "connected_platforms": ["instagram", "tiktok", "x"], "api_key": { "id": "key_7cd2b9f8a1e34d05", "name": "zapier-prod", "last_four": "e4a1", "created_at": "2026-05-11T14:03:22Z", "last_used_at": "2026-07-19T12:03:10Z" }, "created_at": "2026-05-11T14:03:22Z"}Fields
Section titled “Fields”| Field | Type | Notes |
|---|---|---|
id | string | Workspace id prefixed org_. |
name | string | Display name of the workspace. |
plan | string | One of starter, pro, agency, enterprise. |
plan_status | string | active, past_due, cancelled. |
connected_platforms | string[] | Platforms with at least one active social account. |
api_key | object | Metadata for the key that made this request. last_four is safe to display; the plaintext key is never returned. |
When to use it
Section titled “When to use it”- As a health check on client startup.
- To render the workspace name in your dashboard.
- To decide whether to show a “reconnect” prompt when a platform disappears from
connected_platforms.