Skip to main content
GET
/
settings
/
accounts
Get Account Settings
curl --request GET \
  --url https://staging-api.puppetvendors.com/settings/accounts \
  --header 'x-access-token: <api-key>'

Documentation Index

Fetch the complete documentation index at: https://dev.puppetvendors.com/llms.txt

Use this file to discover all available pages before exploring further.

V2 Preview — This endpoint is part of the V2 API preview. Breaking changes may occur.

Overview

Retrieve the authenticated user’s account information including first name, last name, email, and last login timestamp. Vendor tokens can only access their own account.

Response

200
{
  "success": true,
  "data": {
    "_id": "507f1f77bcf86cd799439011",
    "firstName": "John",
    "lastName": "Doe",
    "email": "john.doe@example.com",
    "lastLogin": "2026-04-15T14:22:31.000Z"
  }
}

Example

curl -X GET "https://staging-api.puppetvendors.com/settings/accounts" \
  -H "x-access-token: YOUR_VENDOR_JWT"