GET User Profile
GET /meReturns the authenticated user’s profile. Useful as a health check to confirm a token works.
Request:
curl https://nuelink.com/api/public/v1/me \ -H "Authorization: Bearer YOUR_API_KEY"const response = await fetch('https://nuelink.com/api/public/v1/me', { headers: { Authorization: 'Bearer YOUR_API_KEY', },});
const data = await response.json();console.log(data);<?php
$ch = curl_init('https://nuelink.com/api/public/v1/me');
curl_setopt_array($ch, [ CURLOPT_HTTPHEADER => [ 'Authorization: Bearer YOUR_API_KEY', ], CURLOPT_RETURNTRANSFER => true,]);
$response = curl_exec($ch);curl_close($ch);
echo $response;Response: 200 OK
Section titled “Response: 200 OK”{ "status": "success", "data": { "id": "7860a8ed7591c8eff18659a55b3e80e8", "name": "Maya Holloway", "joinedAt": "2022-05-23T23:55:51.000000Z", "timezone": "Europe/London" }}Response fields
Section titled “Response fields”| Field | Type | Description |
|---|---|---|
id | string | Opaque user identifier. |
name | string | Display name on the Nuelink account. |
joinedAt | string | ISO 8601 timestamp of account creation. |
timezone | string | IANA timezone name (e.g. Europe/London). |