Get user by ID
Retrieves detailed information about a specific user in an organization or profile. Requires developer role or higher.
Response Body
application/json
application/json
application/json
application/json
curl -X GET "https://api.sent.dm/v3/users/string"{
"success": true,
"data": {
"id": "880e8400-e29b-41d4-a716-446655440003",
"email": "admin@acme.com",
"name": "John Admin",
"role": "admin",
"status": "active",
"invited_at": "2025-09-30T15:21:52.002056+00:00",
"last_login_at": "2026-03-31T13:21:52.0020777+00:00",
"created_at": "2025-09-30T15:21:52.002087+00:00",
"updated_at": "2026-03-30T15:21:52.0020941+00:00"
},
"error": null,
"meta": {
"request_id": "req_7X9zKp2jDw",
"timestamp": "2026-03-31T15:21:52.0021019+00:00",
"version": "v3"
}
}Empty
{
"success": false,
"data": null,
"error": {
"code": "AUTH_004",
"message": "You do not have access to this organization or profile",
"details": null,
"doc_url": "https://docs.sent.dm/docs/reference/api/authentication"
},
"meta": {
"request_id": "req_7X9zKp2jDw",
"timestamp": "2026-03-31T15:21:52.0021045+00:00",
"version": "v3"
}
}{
"success": false,
"data": null,
"error": {
"code": "RESOURCE_006",
"message": "User not found",
"details": null,
"doc_url": "https://docs.sent.dm/docs/reference/api/error-catalog"
},
"meta": {
"request_id": "req_7X9zKp2jDw",
"timestamp": "2026-03-31T15:21:52.002105+00:00",
"version": "v3"
}
}{
"success": false,
"data": null,
"error": {
"code": "INTERNAL_001",
"message": "An unexpected error occurred. Please contact support with request ID: req_7X9zKp2jDw",
"details": null,
"doc_url": "https://docs.sent.dm/docs/reference/api/error-catalog"
},
"meta": {
"request_id": "req_7X9zKp2jDw",
"timestamp": "2026-03-31T15:21:52.0021057+00:00",
"version": "v3"
}
}List users GET
Retrieves all users who have access to the organization or profile identified by the API key, including their roles and status. Shows invited users (pending acceptance) and active users. Requires developer role or higher.
Invite a user POST
Sends an invitation to a user to join the organization or profile with a specific role. Requires admin role. The user will receive an invitation email with a token to accept. Invitation tokens expire after 7 days.