contacts

Admin Browse

Lets support/tenant_admin/admin browse ANOTHER account's contacts (account_id path param), same filters and sort as GET /contacts. Tenant-scoped callers (tenant_admin, developer — any tenant_read grant) may only browse accounts in their own tenant; a foreign-tenant account id returns 404, never 403, so the route can't be used to probe which account ids exist elsewhere.

get/admin/users/{account_id}/contacts

Request

  • Base URL: https://api.instruxi.dev/api/v1/enforcer
  • URL: https://api.instruxi.dev/api/v1/enforcer/admin/users/{account_id}/contacts
  • Auth: one of:
    • API key in header Authorization
    • API key in header X-API-Key

Path parameters

account_idstring required

account_id

Query parameters

qstring

search query

contact_typestring

contact_type

activeboolean

active

blacklistedboolean

blacklisted

favoriteboolean

when true, only favorited contacts (favorite_rank set)

sort'name' | 'display_name' | 'name_desc' | 'display_name_desc' | 'recent' | 'oldest'

name / display_name (A-Z, default) | name_desc / display_name_desc | recent | oldest

limitinteger

limit

offsetinteger

offset

Response

OK

limitinteger
offsetinteger
successboolean
totalinteger

Example response

{
  "success": true
}

Changes

No recorded changes to this operation across all 1 revision of this API.