User API
Use the user endpoint to verify an API key and fetch safe account/profile details for the authenticated user.
Authentication
Authorization: Bearer $BUILT_WITH_BEND_API_KEY
Your API base URL is:
https://builtwithbend.com/api
Get current user
GET https://builtwithbend.com/api/user
Example:
curl -H "Authorization: Bearer $BUILT_WITH_BEND_API_KEY" "https://builtwithbend.com/api/user"
Example response (fictional email; your response contains your own account details):
{
"email": "you@example.com",
"profile": {
"state": "signed_up"
}
}
The response does not include your API key or privileged admin flags.
When to use this endpoint
- Check that an integration is authenticated correctly.
- Give an AI agent a low-risk connectivity test before it does product-specific work.
- Confirm which Built with Bend account a key belongs to.