Skip to main content
GET
Retrieve detailed information about a specific student ambassador by their unique ID. Use this endpoint when you need complete details about a single user, such as their profile information, program enrollment, and activity statistics.

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

string
required
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_123abc

Request Example

Response

The API returns a detailed user object containing all available information about the student ambassador:
string
required
Unique identifier for the user.
string
required
First name of the student ambassador.
string
required
Last name of the student ambassador.
string
required
Email address of the student ambassador.
string
required
ID of the program this user belongs to.
string
URL to the user’s profile picture, if available.
string
required
ISO 8601 timestamp of when the user was created.
string
ISO 8601 timestamp of when the user was last updated.
object
Additional metadata associated with the user. This can include custom fields you’ve added.

Response Example

Error Responses

object
Unauthorized - Invalid or missing API key
object
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

  1. Cache user data - User information doesn’t change frequently, so cache responses to reduce API calls
  2. Handle 404 errors - Always check if the user exists before displaying their information
  3. Validate user IDs - Ensure the ID format is correct before making the request
  4. 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

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

User (student) ID

Response

User details

The response is of type object.