Documentation

← Back to site

Fetch user profile

Last updated on November 09, 2014 14:31

This method will return details about the authenticated user, including personal details and API key.

URL

/api/v1/users/profile

Parameters

No parameters are accepted for this API call.

Response

{
  "id": 1,
  "email_address": "[email protected]",
  "password_hash": "$2a$10$5Cy8DwA1PcJyEt5baKodk.Cn7NovW1S/eW7xky499DnVbh8rDkuoe",
  "admin": true,
  "created_at": "2014-08-18T21:40:27.000Z",
  "updated_at": "2014-11-09T14:13:23.000Z",
  "first_name": "Charlie",
  "last_name": "Smurthwaite",
  "unit_price": "13.5",
  "api_key": "3d5736b28b4cc2df4c43eb58ab58a1"
}