Browse docs

Staff

Roles

GET/staff/roles

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/staff/roles" \
  -H "Authorization: Bearer tt_pat_your_token"

Permissions

GET/staff/permissions

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/staff/permissions" \
  -H "Authorization: Bearer tt_pat_your_token"

List

GET/staff

includeArchived
In the query: true or false. Default false.
curl "http://app.telltailhq.com/api/v1/staff" \
  -H "Authorization: Bearer tt_pat_your_token"

Switchable

GET/staff/switchable

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/staff/switchable" \
  -H "Authorization: Bearer tt_pat_your_token"

Identify badge

POST/staff/identify-badge

badgeRequired
In the JSON body: text, up to 80 characters.
curl -X POST "http://app.telltailhq.com/api/v1/staff/identify-badge" \
  -H "Authorization: Bearer tt_pat_your_token" \
  -H "Content-Type: application/json" \
  -d '{"badge":"…"}'

Approvers

GET/staff/approvers

keyRequired
In the query: one of sales.checkout, sales.cancel, sales.discount_manual, sales.warranty, sales.reassign_customer, sales.reassign_tip, returns.create, returns.blind, returns.any_method, returns.deposit, trade_ins.take, trade_ins.over_limit, trade_ins.cash_payout, drawers.paid_out, sales.reassign_seller, drawers.no_sale, customers.credit, gift_cards.manage, inventory.adjust, inventory.oversell, products.cost, products.bulk_edit, purchasing.send, receiving.discrepancy, subscriptions.override.
curl "http://app.telltailhq.com/api/v1/staff/approvers" \
  -H "Authorization: Bearer tt_pat_your_token"

Access

GET/staff/access

This route takes no parameters.

curl "http://app.telltailhq.com/api/v1/staff/access" \
  -H "Authorization: Bearer tt_pat_your_token"

Stores

GET/staff/{id}/stores

idRequired
In the path: id starting with EMP_.
curl "http://app.telltailhq.com/api/v1/staff/{id}/stores" \
  -H "Authorization: Bearer tt_pat_your_token"

Sign ins

GET/staff/sign-ins

includeArchived
In the query: true or false. Default false.
curl "http://app.telltailhq.com/api/v1/staff/sign-ins" \
  -H "Authorization: Bearer tt_pat_your_token"