Handle sequence tokens and keys
Functions for accessing the api