accepts-api-key

Grant Tokens

Grant tokens to a user by email. Admin only.

Creates a one-time grant of quantity tokens that expires expiration_days days from today, returning the grant id and the computed expiration date.

post/admin/grant

Request

  • Base URL
    https://api.tellers.ai (the document declares no server; this is the origin it was published from)
  • Auth
    none declared

Headers

x-api-keystring nullable
authorizationstring nullable

Request body

emailstring required

Email of the user to grant tokens to

quantitynumber required

Number of tokens to grant

expiration_daysinteger required

Number of days from today after which the grant expires

Response

Successful Response

grant_idstring uuid required

Id of the created grant

expiration_datestring date required

Date on which the grant expires

Changes

No recorded changes to this operation across all 2 revisions of this API.