Get one user

Overview

Get a user's details, role, and access.

Use this to check or edit a user.

You'll need the user_id.

Returns the user. user_type is the value to send back to Edit a partner user: basic for a basic user, otherwise assign_brand when the user is limited to some accounts, otherwise admin.

Prerequisites

Base URL

EnvironmentURL
Productionhttps://production-api.shoutaboutus.com
Developmenthttps://development-api.shoutaboutus.com

Endpoint

POST /api/v1/users/partner/details

Authentication

Partner or Account token

  • user_id must be a user inside your own account tree; otherwise 422.
  • Any other token (for example a Location token) gets 403.

Rate limit

This endpoint has no rate limit.

Request parameters

None.

Request body

FieldTypeRequiredNotes
user_idintegerYesThe user to get. Must exist and be inside your account tree.

Request payload

{
  "user_id": 3011
}

Response body

The payload is inside data.

FieldTypeDescription
statusstringsuccess.
responseobjectThe user.
response.idintegerThe user's id.
response.first_namestringFirst name.
response.last_namestring or nullLast name.
response.titlestring or nullJob title.
response.emailstringThe user's email address.
response.inactive_atstring or nullWhen the user is (or was) deactivated. null when no deactivation date is set.
response.email_verified_atstring or nullWhen the user's email address was verified.
response.user_typestringadmin, assign_brand or basic: the value to send as user_type when you edit the user.
response.rolestringThe user's role label: Owner, Admin User, Brand Assigned, Location Assigned, Basic User or User.
response.locationarray of stringsThe active or pending locations assigned to the user, each as the location's name followed by - and its client_location_id (or its storeid when it has no client_location_id). Empty when none are assigned.
response.accountsarray of stringsThe names of the accounts assigned to the user. Empty when none are assigned.

Response payload

{
  "data": {
    "status": "success",
    "response": {
      "id": 3011,
      "first_name": "Jane",
      "last_name": "Smith",
      "title": "Manager",
      "email": "[email protected]",
      "inactive_at": null,
      "email_verified_at": "2026-09-23T10:43:43.000000Z",
      "user_type": "admin",
      "role": "Owner",
      "location": [],
      "accounts": []
    }
  }
}

Examples

Success payload

A user limited to one account:

{
  "data": {
    "status": "success",
    "response": {
      "id": 9,
      "first_name": "John",
      "last_name": "Doe",
      "title": "Manager",
      "email": "[email protected]",
      "inactive_at": null,
      "email_verified_at": "2026-06-16T12:26:09.000000Z",
      "user_type": "assign_brand",
      "role": "Brand Assigned",
      "location": [],
      "accounts": [
        "Acme Brand"
      ]
    }
  }
}

Error payload

403 Not a partner or account token

{
  "message": "Forbidden",
  "status": "error",
  "errors": "Only partner and brand users are allowed."
}

404 User not found

The user has been removed.

{
  "message": "Not Found",
  "status": "error",
  "errors": "User not found."
}

422 User outside your tree

{
  "message": "The selected user id does not belong to your company hierarchy.",
  "errors": {
    "user_id": [
      "The selected user id does not belong to your company hierarchy."
    ]
  }
}

422 User doesn't exist

{
  "message": "The selected user id is invalid. (and 1 more error)",
  "errors": {
    "user_id": [
      "The selected user id is invalid.",
      "The selected user id does not belong to your company hierarchy."
    ]
  }
}

422 user_id missing

{
  "message": "The user id field is required.",
  "errors": {
    "user_id": [
      "The user id field is required."
    ]
  }
}
StatusMeaning
200The user.
401The token is missing, expired or invalid.
403The token isn't a Partner or Account token.
404The user has been removed.
422user_id is missing, doesn't exist, or is outside your tree.
500Unexpected server error.

Example request

curl --request POST \
  --url "https://production-api.shoutaboutus.com/api/v1/users/partner/details" \
  --header 'Authorization: Bearer <bearer-token>' \
  --header 'Accept: application/json' \
  --header 'Content-Type: application/json' \
  --data '{"user_id": 3011}'

Did this page help you?