Calls
Basic Authentication
3 min
the first step to making calls using the api is to provide the correct authentication details if you have not already been set up with an account, ask that the owner of your account invite you as an api admin once invited, you are able to log in the back end of the system, navigate to admin management (under the settings tab), click on your admin account, and collect your details if you have any trouble collecting these details, please contact support\@regpacks com and they will be able to assist you in the image below api user is rpapi+rogers\@regpacks com, the email associated with the account api token is cd8c417d 7cde 4bbe 83fc 94fccd7c0379 api id is 23218, in the top right header in each request to the api, you must authenticate yourself by including four components in the header of your request name type required description api user string true this is the login email associated with your admin account api token string true this is the authentication token which you can find in the profile tab of your api admin (in the admin management page) api id integer true this is the id associated with your admin account curl using curl, the basic authentication would look like curl "https //www regpack com/reg/api2/users/" \\ h "content type application/json" \\ h "accept application/json" \\ h "api id 15263" \\ h "api user api admin\@regpacks com" \\ h "api token cd2e514f 7gab 3cde 62fg 51abcd4e7362" \\