To access the API, you need to authenticate each request using your API key. This ensures secure communication between your application and our server. Include the API key in the request header as a Bearer
token to verify your identity and gain access to the available endpoints.
Authentication Endpoint:
https://crm.jaweb.me/api/user/CheckUserAuth
How to Authenticate #
- Include the API Key in the Request Header
Add the API key in the request header to authenticate each API call:makefileCopyAuthorization: Token YOUR_API_KEY_HERE
- Send a Request to the Authentication Endpoint
Make aGET
request to the following URL:rubyCopyhttps://crm.jaweb.me/api/user/CheckUserAuth
- Handle the Response
200 OK
– Authentication is successful, and the user is verified.401 Unauthorized
– The API key is missing or invalid. Make sure you are using a valid key.
Example Request #
GET https://crm.jaweb.me/api/user/CheckUserAuth
Authorization:Token YOUR_API_KEY_HERE
Security Considerations #
- Do not share your API key or expose it in public-facing code.
- Rotate the API key periodically for enhanced security.