Get partner user details
Overview
Returns the full detail of a single partner user (identified by user_id) including derived user_type, role, assigned locations and assigned accounts. Only partner/account companies may call it, and the target must belong to the caller's company tree (an ownership check).
Prerequisites
- A bearer token in the
Authorizationheader.
Base URL
| Environment | URL |
|---|---|
| Production | https://production-api.shoutaboutus.com |
| Development | https://development-api.shoutaboutus.com |
Endpoint
POST /api/v1/users/partner/details
Authentication
-
Requires a bearer token in the
Authorization: Bearer <bearer-token>header. -
Partner / account — collection bearer token. Gate: caller
bundle_id∈ 3;user_idmust belong to the caller's company (validation rule).
Rate limit
- No rate limit.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
user_id | integer | Required | Id of the user to fetch; must belong to the caller's company. |
{
"user_id": 9
}How it works
200returnsdata.response(the user object).user_typeis derived from the user's flags:basicwhen thebasic_userflag is set, elseassign_brandwhen theassign_brandflag is set, otherwiseadmin.404 User not found.when the id resolves to no non-deleted person.403when the caller is not a partner/account company;422whenuser_idis missing or outside scope.
Response
200 OK · 200
200{
"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"
]
}
}
}404 User not found · 404
404{
"message": "Not Found",
"status": "error",
"errors": "User not found."
}Errors
| Status | Meaning |
|---|---|
401 | The bearer token is missing, expired or invalid |
403 | Returned when the caller is not a partner/account company |
404 | User not found |
422 | Returned when user_id is missing or outside scope |
500 | Unexpected 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": 9}'Updated 18 days ago
Did this page help you?
