API Developer Guide Overview Welcome to the API Developer Guide. Please use the sandbox URL for testing purposes. When using the production version, ensure you have the production key and access. If you would like to opt into the program, please contact info@coachhire.com. Authentication To access the API, you must first log in using your credentials. The login URL is: POST /api/auth/login Request URL: /api/auth/login Method: POST Content-Type: application/json Body Parameters: username (string): Your username. password (string): Your password. Example Request { "username": "your_username", "password": "your_password" } Successful Response: { "token": "your_token_here" } Example Response: { "token": "abc123xyz456" } Using the Token Once you have the token, you need to include it in the...
Categories