Overview
The Get User endpoint returns comprehensive information about a single student ambassador. This is useful for:- Displaying user profile pages
- Showing detailed ambassador information
- Fetching user data before making updates
- Building user detail views in dashboards
Authentication
This endpoint requires authentication using a Bearer token in the Authorization header:Path Parameters
The unique identifier of the user (student ambassador) you want to retrieve. This ID is returned when you list users or create a new user.Example:
user_123abcRequest Example
Response
The API returns a detailed user object containing all available information about the student ambassador:Unique identifier for the user.
First name of the student ambassador.
Last name of the student ambassador.
Email address of the student ambassador.
ID of the program this user belongs to.
URL to the user’s profile picture, if available.
ISO 8601 timestamp of when the user was created.
ISO 8601 timestamp of when the user was last updated.
Additional metadata associated with the user. This can include custom fields you’ve added.
Response Example
Error Responses
Unauthorized - Invalid or missing API key
Not Found - The user with the specified ID does not exist
Use Cases
Displaying User Profile
Fetch user details to display in a profile page:Validating User Existence
Before performing operations on a user, verify they exist:Building User Detail Components
Use this endpoint to populate user detail views:Best Practices
- Cache user data - User information doesn’t change frequently, so cache responses to reduce API calls
- Handle 404 errors - Always check if the user exists before displaying their information
- Validate user IDs - Ensure the ID format is correct before making the request
- Use error boundaries - Implement proper error handling in your UI components
Rate Limits
This endpoint is subject to rate limiting. Check the response headers for rate limit information.Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
User (student) ID
Response
User details
The response is of type object.