Implement api request security and add required specs.