Browse docs

Gift cards

List

GET/gift-cards

q
In the query: text, up to 120 characters.
status
In the query: one of open, empty, disabled, lost, closed, all. Default open.
sort
In the query: one of activity, balance, number, issued, holder. Default activity.
dir
In the query: one of asc, desc. Default desc.
limit
In the query: integer, 1 to 200. Default 100.
cursor
In the query: text. Where the next page starts. Opaque: follow the next URL from the last answer, which carries it.
curl "http://app.telltailhq.com/api/v1/gift-cards" \
  -H "Authorization: Bearer tt_pat_your_token"

Get

GET/gift-cards/{id}

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