Company


Get User

GET /api/user

Parameters: (optional)

  • id - Gets a specific user

Response:

  • id - User ID
  • email - Email
  • first_name - First name
  • last_name - Last name
  • notifications - Email notifications
  • last_company_id - The lastest company ID
  • date_created - Date created

Get Company

GET /api/company

Response:

  • company_name - Company name
  • domain - Domain (or custom domain)
  • address1 - Address1
  • address2 - Address2
  • city - City
  • state - State
  • postcode - Postcode
  • country - Country
  • currency - Currency
  • phone - Phone
  • signature - Signature
  • language - Language
  • timezone - Timezone
  • date_order - Date Order (e.g. mm/dd)
  • round_billable_hours - Round billable hours?
  • default_order - Default project/task order
  • billing_email - PayPal email
  • custom_header_bg - Custom background color
  • custom_css - Custom CSS
  • invoice_footer - Default invoice footer
  • estimate_footer - Default estimate footer
  • invoice_email_template - Invoice email template
  • estimate_email_template - Estimate email template
  • superuser_id - The user ID of Superuser
  • date_created - Date created
  • users - Users attached to company
    • id - User ID