putting salt header/footer into api ref