How to create an api with token in header

I have a binary trading application on the stock exchange. I am providing an api so that my clients can feed a specific table from the database through this api, but I would like to add the security of a token in the header so that without this token the person cannot send data through the api. I would like to know how to do this.

Community Page
Last updated: