Get User Information

API Library Examples

from fulcrum import get_user
from fulcrum.exceptions import UnauthorizedException

try:
  user = get_user('{email}', '{password}')
  print(user['user'])
except UnauthorizedException:
  print('email and/or password is incorrect')
const { getUser } = require('fulcrum-app');

getUser('{email}', '{password}')
  .then((user) => {
    console.log(user);
    // user.contexts is an array of the organizations you belong to.
    // Use these ids with createAuthorization to create API tokens.
  })
  .catch((error) => {
    console.log(error.message);
  });
require 'fulcrum'

user = Fulcrum::Client.get_user('{email}', '{password}')

puts user
Language
Authorization
Header
Click Try It! to start a request and see the response here!