Last updated on August 24, 2026
About the Rublon Admin API
Do This Before You Start Calling the Admin API
How to Get the userId?
https://admin.rublon.net/users/e3g6h604huo2ee5
How to Get the groupId?
https://admin.rublon.net/groups/k98qfb3d9d3adoo0fe64
Listing Users Whose Username Contains a String
GET https://core.rublon.net/api/admin/users
{
"perPage": 30,
"sortBy": {
"sortField": "createdAt",
"sortOrder": "desc"
},
"filterBy": {
"search": "a"
}
}
{
"status": "OK",
"result": {
"data": [
{
"id": "e3g6h604huo2ee5",
"email": "john_smith@rublon.com",
"username": "john_smith",
"name": "John Smith",
"status": "active",
"groups": []
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://core.rublon.net/api/admin/users",
"per_page": 30,
"to": 1,
"total": 1
}
}
}
Listing Users With Emails In a Specific Domain
GET https://core.rublon.net/api/admin/users
{
"perPage": 30,
"sortBy": {
"sortField": "createdAt",
"sortOrder": "desc"
},
"filterBy": {
"search": "rublon.com"
}
}
{
"status": "OK",
"result": {
"data": [
{
"id": "e3g6h604huo2ee5",
"email": "john_smith@rublon.com",
"username": "john_smith",
"name": "John Smith",
"status": "active",
"groups": []
},
{
"id": "j7k5l708goe4kl2",
"email": "alice_welles@rublon.com",
"username": "alice_welles",
"name": "Alice Welles",
"status": "active",
"groups": [
{
"id": "h26120d29gac7fe653f81",
"name": "VPN Users",
"status": "active",
"description": null
},
{
"id": "mr885a172ae0f78t3072",
"name": "Windows Users",
"status": "active",
"description": null
}
]
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://core.rublon.net/api/admin/users",
"per_page": 30,
"to": 2,
"total": 2
}
}
}
Getting a Specific User
GET https://core.rublon.net/api/admin/users/e3g6h604huo2ee5
{
"status": "OK",
"result": {
"id": "e3g6h604huo2ee5",
"email": "john_smith@rublon.com",
"username": "john_smith",
"name": "John Smith",
"status": "active",
"groups": []
}
}
{
"status": "ERROR",
"code": 400,
"result": {
"exception": "UserNotFoundException",
"code": 40,
"errorMessage": "User not found.",
"details": null
}
}
Creating a User and Assigning Them to Two Groups
POST https://core.rublon.net/api/admin/users
{
"email": "mike_townsend@rublon.com",
"username": "mike_townsend",
"name": "Mike Townsend",
"status": "active",
"groups": ["h26120d29gac7fe653f81", "mr885a172ae0f78t3072"]
}
Changing User Email and Username
PUT https://core.rublon.net/api/admin/users/{userId}
{
"email": "michael_townsend@rublon.com",
"username": "michael_townsend",
"name": "Michael Townsend"
}
Assigning an Existing User to a Group
PUT https://core.rublon.net/api/admin/users/{userId}
{
"groups": ["f67efb3d9i6goww0fe64"]
}
Deleting a User
DELETE https://core.rublon.net/api/admin/users/e3g6h604huo2ee5
Listing All Aliases of a User
GET https://core.rublon.net/api/admin/users/e3g6h604huo2ee5/aliases
{
"status": "OK",
"result": {
"data": [
{
"id": "03fc2bd0206972a642b0",
"name": "bob_smith",
"number": 1
},
{
"id": "f681c60cf062430aa2fd",
"name": "bob_rublon",
"number": 2
}
],
"meta": {
"current_page": 1,
"from": 1,
"last_page": 1,
"path": "https://core.rublon.net/api/admin/users/e3g6h604huo2ee5/aliases",
"per_page": 20,
"to": 2,
"total": 2
}
}
}
{
"status": "OK",
"result": {
"data": [],
"meta": {
"current_page": 1,
"from": null,
"last_page": 1,
"path": "https://core.rublon.net/api/admin/users/4a06865ba0b3987/aliases",
"per_page": 20,
"to": null,
"total": 0
}
}
}
{
"status": "ERROR",
"code": 400,
"result": {
"exception": "UserNotFoundException",
"code": 40,
"errorMessage": "User not found.",
"details": null
}
}
Adding a New Alias for a User
POST https://core.rublon.net/api/admin/users/{userId}/aliases
{
"name": "john_example",
"number": 2
}
Changing Name of Existing Alias
PUT https://core.rublon.net/api/admin/aliases/f681c60cf005530aa2fd
{
"name": "john_smith",
"number": 5
}
Deleting an Alias
DELETE https://core.rublon.net/api/admin/aliases/f681c60cf005530aa2fd
Listing Audit Logs
GET api/admin/logs/audit
{
"perPage": 100,
"sortBy": {
"sortField": "createdAt",
"sortOrder": "asc"
},
"filterBy": {
"from": "2024-08-01 10:00:00",
"to": "2030-09-01 10:00:00",
"event": "Administrator.Authentication.Success",
"search": "bob@rublon.com"
}
}
{
<other params>
"cursor":"eyJjcmVhdGVkX2F0IjoeMjAyNC0wMy0yOCAxMTo0MTo0NQPsIl9wb2ludHNUb05leHRJdGVtcyI6dKI1ZX0"
}
Listing Authentication Logs
GET api/admin/logs/authentication
{
"perPage": 100,
"sortBy": {
"sortBy[sortField]": "createdAt",
"sortBy[sortOrder]": "asc"
},
"filterBy": {
"from": "2024-08-01 10:00:00",
"to": "2030-09-01 10:00:00",
"status": ["granted"],
"method": ["push", "yotp"],
"aid": "e460e341f2e8275e73c3",
"uid": "806fe8195fd891f",
"search": "Chrome"
}
}
{
<other params>
"cursor":"eyJjcmVhdGVkX2F0IjoeMjAyNC0wMy0yOCAxMTo0MTo0NQPsIl9wb2ludHNUb05leHRJdGVtcyI6dKI1ZX0"
}
Listing Phone Logs
GET api/admin/logs/phone
{
"perPage": 100,
"sortBy": {
"sortBy[sortField]": "createdAt",
"sortBy[sortOrder]": "asc"
},
"filterBy": {
"from": "2024-08-01 10:00:00",
"to": "2030-09-01 10:00:00",
"method": ["sms", "smsLink"],
"search": "WordPress"
}
}
{
<other params>
"cursor":"eyJjcmVhdGVkX2F0IjoeMjAyNC0wMy0yOCAxMTo0MTo0NQPsIl9wb2ludHNUb05leHRJdGVtcyI6dKI1ZX0"
}
Listing Activity Logs
GET api/admin/logs/activity
{
"perPage": 100,
"sortBy": {
"sortField": "createdAt",
"sortOrder": "asc"
},
"filterBy": {
"from": "2024-08-01 10:00:00",
"to": "2030-09-01 10:00:00",
"event": "User.Authenticator.Fido.Create",
"search": "bob@rublon.com"
}
}
{
"cursor": "eyJjcmVhdGVkX2F0IjoiMjAyNi0wNi0xMCAxNDowMzozNyIsIl9wb2ludHNUb05leHRJdGVtcyI6dHJ1ZX0"
}