Get Customer Profile
This endpoint retrieves comprehensive information about a specific customer.

Authorization: Bearer YOUR_TOKEN


Expected Behavior:


  • On success, the system will return the customer's profile information, including details about their team, organization, and any associated limits.
  • If the request is unauthorized or the customer is not found, an error message will be returned explaining the issue.
Path Parameters
  • customer_id string
    The unique ID of the customer. Example: '6fb4e64f-ad18-46e3-920c-92639adb137c'
JavaScript
Response codes
const axios = require('axios');

const url = "https://customer-query.api.pinghome.io/v1/customer/6fb4e64f-ad18-46e3-920c-92639adb137c";

axios.get(url, {
  headers: {
    'Authorization': 'Bearer YOUR_TOKEN',
    'Content-Type': 'application/json'
  }
})
.then(response => {
  console.log(response.data);
})
.catch(error => {
  console.error(error);
});
ResponseThis section is used to view the possible HTTP response codes returned by the API. These codes indicate the status of a request, such as 201 (Created), 401 (Unauthorized), 409 (Conflict), or 422 (Unprocessable Entity).