Validate Authentication
Integration API
Validate Authentication
Validates the provided Bearer token and returns user information
GET
Validate Authentication
Validates the provided Bearer token and returns user information. This endpoint is useful for testing your authentication setup and verifying that your integration key is working correctly.
Use Cases
- Health Check: Verify your integration key is valid and active
- User Identification: Get the user ID associated with your integration key
- Connection Testing: Test your API setup before making other requests
- Debugging: Troubleshoot authentication issues
Response Details
A successful response confirms that:- Your Bearer token is valid and properly formatted
- The integration key exists in our system
- The associated user account is active
- You can proceed to make other API requests
user_id in the response can be used for:
- Creating integration configurations
- Tracking API usage
- Debugging and support requests
Common Issues
401 - Authorization header with Bearer token required
401 - Authorization header with Bearer token required
401 - Bearer token is empty
401 - Bearer token is empty
Cause: Authorization header is present but the token value after “Bearer ” is emptySolution: Ensure your integration key is properly set in your environment or configuration
404 - Invalid bearer token - user not found
404 - Invalid bearer token - user not found
Cause: The integration key is not valid or doesn’t exist in our systemSolution:
- Verify you’re using the correct integration key
- Check if the key was regenerated and update your configuration
- Generate a new key if necessary using the Create Key endpoint