Juniper Mist AI Orgs User MACs API
NAC User MACs (Endpoints) provide a database of endpoints identified by their MAC addresses. They can be used assign each endpoint with various attributes, such as name, VLAN, role and client label. Once an endpoint is labeled, the label name can be used to create [NAC Tags]($h/Orgs%20NAC%20Tags/_overview) as match criteria. [NAC Tags]($h/Orgs%20NAC%20Tags/_overview) can be used to create Tags regrouping one or multiple endpoint MAC Addresses, but the use of the User MACs provides additional features: * possibility to assign specific attributes, like a Name, a Radius Group, a VLAN ID, ... * possibility to assign one or multiple Tags (Labels) to a User MAC * improved management for large list of MAC Addresses
Add selected operations to Stack
Documentation
Specifications
Other Resources
Every API here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for apis
7 MCP tools reach this
find_apisBrowse and filter every API in the catalog.
get_api_artifactsOne API's artifacts, grouped by type.
get_openapiThe primary OpenAPI for this API.
find_similar_apisAPIs that look like this one.
apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
resolveTurn a domain, URL or GitHub org into the provider it belongs to.
find_cohortsEvery scored population of providers in the catalog.
All 92 tools →
Call it yourself
curl for this page
This API
curl "https://apis.io/api/v1/apis/mist-ai:mist-ai-orgs-user-macs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key .
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we
store it to create your key and to recognise you if you sign in with another
provider. By signing up you are subscribing to the APIs.io and API Evangelist
newsletters — you can unsubscribe from any issue. See our
Privacy Policy and Terms .
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
contact:
email: tmunzer@juniper.net
name: Thomas Munzer
description: '> Version: **2604.1.1**
>
> Date: **May 13, 2026**
NOTE:
Some important API changes will be introduced.'
license:
name: MIT
url: https://raw.githubusercontent.com/tmunzer/Mist-OAS3.0/main/LICENSE
title: Mist Orgs User MACs API
version: 2604.1.1
x-logo:
altText: Juniper-MistAI
backgroundColor: '#FFFFFF'
url: https://www.mist.com/wp-content/uploads/logo.png
servers:
- description: Mist Global 01
url: https://api.mist.com
- description: Mist Global 02
url: https://api.gc1.mist.com
- description: Mist Global 03
url: https://api.ac2.mist.com
- description: Mist Global 04
url: https://api.gc2.mist.com
- description: Mist Global 05
url: https://api.gc4.mist.com
- description: Mist EMEA 01
url: https://api.eu.mist.com
- description: Mist EMEA 02
url: https://api.gc3.mist.com
- description: Mist EMEA 03
url: https://api.ac6.mist.com
- description: Mist EMEA 04
url: https://api.gc6.mist.com
- description: Mist APAC 01
url: https://api.ac5.mist.com
- description: Mist APAC 02
url: https://api.gc5.mist.com
- description: Mist APAC 03
url: https://api.gc7.mist.com
security:
- apiToken: []
- basicAuth: []
- basicAuth: []
csrfToken: []
tags:
- description: NAC User MACs (Endpoints) provide a database of endpoints identified by their MAC addresses.
name: Orgs User MACs
paths:
/api/v1/orgs/{org_id}/usermacs:
parameters:
- $ref: '#/components/parameters/org_id'
post:
description: 'Create Org User MACs
### Usermacs import CSV file format
mac,labels,vlan,notes
921b638445cd,"bldg1,flor1",vlan-100
721b638445ef,"bldg2,flor2",vlan-101,Canon Printers
721b638445ee,"bldg3,flor3",vlan-102
921b638445ce,"bldg4,flor4",vlan-103
921b638445cf,"bldg5,flor5",vlan-104'
operationId: createOrgUserMac
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/user_mac'
responses:
'200':
$ref: '#/components/responses/UserMac'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: createOrgUserMac
tags:
- Orgs User MACs
put:
description: Update Multiple Org User MACs
operationId: updateOrgMultipleUserMacs
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/user_macs'
responses:
'200':
$ref: '#/components/responses/UserMacsUpdate'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: updateOrgMultipleUserMacs
tags:
- Orgs User MACs
/api/v1/orgs/{org_id}/usermacs/count:
parameters:
- $ref: '#/components/parameters/org_id'
get:
description: Count by Distinct Attributes of User MACs
operationId: countOrgUserMacs
parameters:
- description: 'Attribute to count by. enum: `mac`, `name`, `labels`, `org_id`'
in: query
name: distinct
required: true
schema:
$ref: '#/components/schemas/count_usermac_distinct'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/start'
- $ref: '#/components/parameters/end'
responses:
'200':
$ref: '#/components/responses/UserMacsCount'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: countOrgUserMacs
tags:
- Orgs User MACs
/api/v1/orgs/{org_id}/usermacs/delete:
parameters:
- $ref: '#/components/parameters/org_id'
post:
description: Delete Multiple Org User MACs
operationId: deleteOrgMultipleUserMacs
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/usermacs_id'
description: Request Body
responses:
'200':
$ref: '#/components/responses/OK'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: deleteOrgMultipleUserMacs
tags:
- Orgs User MACs
/api/v1/orgs/{org_id}/usermacs/import:
parameters:
- $ref: '#/components/parameters/org_id'
post:
description: 'Import Org User MACs
### CSV Import example
```csv
mac,labels,vlan,notes,name,radius_group
921b638445cd,"bldg1,flor1",vlan-100
721b638445ef,"bldg2,flor2",vlan-101,Canon Printers
721b638445ee,"bldg3,flor3",vlan-102,Printer2,VIP
921b638445ce,"bldg4,flor4",vlan-103
921b638445cf,"bldg5,flor5",vlan-104
````'
operationId: importOrgUserMacs
requestBody:
content:
application/json:
examples:
Example:
value:
- labels:
- label1
mac: 921b638445cd
vlan: '30'
- labels:
- label2
- label3
mac: 721b638445ef
notes: mac address refers to Canon printers
- labels:
- label4
mac: 721b638445ee
- labels:
- label5
- label6
- label7
mac: 921b638445ce
- mac: 921b638445cf
vlan: '100'
schema:
$ref: '#/components/schemas/user_macs'
multipart/form-data:
schema:
$ref: '#/components/schemas/binary_stream'
responses:
'200':
$ref: '#/components/responses/UserMacImport'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: importOrgUserMacs
tags:
- Orgs User MACs
/api/v1/orgs/{org_id}/usermacs/search:
parameters:
- $ref: '#/components/parameters/org_id'
get:
description: Search Org User MACs
operationId: searchOrgUserMacs
parameters:
- $ref: '#/components/parameters/partial_filter_mac_usermac'
- description: Optional, array of strings of labels
in: query
name: labels
schema:
$ref: '#/components/schemas/search_org_user_macs_labels'
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/page'
- $ref: '#/components/parameters/sort'
responses:
'200':
$ref: '#/components/responses/UserMacsArray'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: searchOrgUserMacs
tags:
- Orgs User MACs
/api/v1/orgs/{org_id}/usermacs/{usermac_id}:
parameters:
- $ref: '#/components/parameters/org_id'
- $ref: '#/components/parameters/usermac_id'
delete:
description: Delete Org User MAC
operationId: deleteOrgUserMac
responses:
'200':
$ref: '#/components/responses/OK'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: deleteOrgUserMac
tags:
- Orgs User MACs
get:
description: Get Org User MAC
operationId: getOrgUserMac
responses:
'200':
$ref: '#/components/responses/UserMac'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: getOrgUserMac
tags:
- Orgs User MACs
put:
description: Update Org User MAC
operationId: updateOrgUserMac
requestBody:
content:
application/json:
schema:
$ref: '#/components/schemas/user_mac'
responses:
'200':
$ref: '#/components/responses/UserMac'
'400':
$ref: '#/components/responses/HTTP400'
'401':
$ref: '#/components/responses/HTTP401'
'403':
$ref: '#/components/responses/HTTP403'
'404':
$ref: '#/components/responses/HTTP404'
'429':
$ref: '#/components/responses/HTTP429'
summary: updateOrgUserMac
tags:
- Orgs User MACs
components:
examples:
HTTP403Example:
value:
detail: You do not have permission to perform this action.
UserMacsArrayExample:
value:
- id: 111cafd2-ba1b-5169-bfcb-9cdf1d473ddb
labels:
- flor1
- bld4
mac: 921b638445cd
notes: mac address refers to Canon printers
vlan: '30'
UserMacImportExample:
value:
added:
- 921b638445cd
errors:
- 921b638445ce - mac invalid
- 921b638445cf - mac already provided
updated:
- 721b638445ef
- 721b638445ee
UserMacsUpdateExample:
value:
errors:
- 2feacc8e-5893-418a-acaa-4d7c1afd01fe - invalid id
updated:
- 1041c16c-ca87-4d3f-bb94-b97c5819fc09
- a016cc8e-5893-418a-acaa-4d7c1af6ac0f
UserMacExample:
value:
id: 111cafd2-ba1b-5169-bfcb-9cdf1d473ddb
labels:
- flor1
- bld4
mac: 921b638445cd
notes: mac address refers to Canon printers
vlan: '30'
HTTP429Example:
value:
detail: Too Many Request. The API Token used for the request reached the 5000 API Calls per hour threshold
HTTP401Example:
value:
detail: Authentication credentials were not provided.
HTTP400Example:
value:
detail: 'JSON parse error - Expecting value: line 5 column 8 (char 56)'
schemas:
user_mac_import_errors:
examples:
- - 921b638445ce - mac invalid
- 921b638445cf - mac already provided
items:
type: string
type: array
usermacs_id:
properties:
usermac_ids:
$ref: '#/components/schemas/uuids'
type: object
strings:
items:
type: string
type: array
uniqueItems: true
response_http401:
additionalProperties: false
properties:
detail:
examples:
- Authentication credentials were not provided.
type: string
type: object
count_usermac_distinct:
enum:
- mac
- name
- labels
- org_id
examples:
- org_id
type: string
user_macs_count:
additionalProperties: false
description: User MACs count response
properties:
end:
description: End timestamp
type: integer
limit:
description: Number of results to return
type: integer
results:
description: List of user MAC entries
items:
$ref: '#/components/schemas/user_mac'
type: array
start:
description: Start timestamp
type: integer
total:
description: Total number of results
type: integer
type: object
user_mac_import_added:
examples:
- - 921b638445cd
items:
type: string
type: array
search_org_user_macs_labels:
items:
type: string
type: array
binary_stream:
additionalProperties: false
properties:
file:
contentMediaType: application/octet-stream
description: File to upload
type: string
required:
- file
type: object
user_mac_labels:
examples:
- - byod
- flr1
items:
type: string
type: array
user_macs:
items:
$ref: '#/components/schemas/user_mac'
type: array
user_mac_import_updated:
examples:
- - 721b638445ef
- 721b638445ee
items:
type: string
type: array
response_http403:
additionalProperties: false
properties:
detail:
examples:
- You do not have permission to perform this action.
type: string
type: object
id:
description: Unique ID of the object instance in the Mist Organization
examples:
- 53f10664-3ce8-4c27-b382-0ef66432349f
format: uuid
readOnly: true
type: string
response_http400:
additionalProperties: false
properties:
detail:
examples:
- 'JSON parse error - Expecting value: line 5 column 8 (char 56)'
type: string
type: object
response_http429:
additionalProperties: false
properties:
detail:
examples:
- Too Many Request. The API Token used for the request reached the 5000 API Calls per hour threshold
type: string
type: object
user_macs_update:
additionalProperties: false
properties:
errors:
$ref: '#/components/schemas/strings'
updated:
$ref: '#/components/schemas/uuids'
type: object
user_mac_import:
additionalProperties: false
properties:
added:
$ref: '#/components/schemas/user_mac_import_added'
errors:
$ref: '#/components/schemas/user_mac_import_errors'
updated:
$ref: '#/components/schemas/user_mac_import_updated'
type: object
user_mac:
properties:
id:
$ref: '#/components/schemas/id'
labels:
$ref: '#/components/schemas/user_mac_labels'
mac:
description: Only non-local-admin MAC is accepted
examples:
- 5684dae9ac8b
type: string
name:
examples:
- Printer2
type: string
notes:
examples:
- mac address refers to Canon printers
type: string
radius_group:
examples:
- VIP
type: string
vlan:
examples:
- '30'
type: string
required:
- mac
type: object
response_http404:
additionalProperties: false
properties:
id:
type: string
type: object
uuids:
items:
format: uuid
type: string
type: array
responses:
HTTP403:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/HTTP403Example'
schema:
$ref: '#/components/schemas/response_http403'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/HTTP403Example'
schema:
$ref: '#/components/schemas/response_http403'
description: Permission Denied
HTTP401:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/HTTP401Example'
schema:
$ref: '#/components/schemas/response_http401'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/HTTP401Example'
schema:
$ref: '#/components/schemas/response_http401'
description: Unauthorized
UserMac:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/UserMacExample'
schema:
$ref: '#/components/schemas/user_mac'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/UserMacExample'
schema:
$ref: '#/components/schemas/user_mac'
description: OK
UserMacsArray:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/UserMacsArrayExample'
schema:
$ref: '#/components/schemas/user_macs'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/UserMacsArrayExample'
schema:
$ref: '#/components/schemas/user_macs'
description: OK
UserMacsUpdate:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/UserMacsUpdateExample'
schema:
$ref: '#/components/schemas/user_macs_update'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/UserMacsUpdateExample'
schema:
$ref: '#/components/schemas/user_macs_update'
description: OK
HTTP404:
content:
application/json:
schema:
$ref: '#/components/schemas/response_http404'
application/vnd.api+json:
schema:
$ref: '#/components/schemas/response_http404'
description: Not found. The API endpoint doesn’t exist or resource doesn’ t exist
UserMacsCount:
content:
application/json:
schema:
$ref: '#/components/schemas/user_macs_count'
application/vnd.api+json:
schema:
$ref: '#/components/schemas/user_macs_count'
description: OK
UserMacImport:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/UserMacImportExample'
schema:
$ref: '#/components/schemas/user_mac_import'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/UserMacImportExample'
schema:
$ref: '#/components/schemas/user_mac_import'
description: OK
OK:
description: OK
HTTP429:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/HTTP429Example'
schema:
$ref: '#/components/schemas/response_http429'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/HTTP429Example'
schema:
$ref: '#/components/schemas/response_http429'
description: Too Many Request. The API Token used for the request reached the 5000 API Calls per hour threshold
HTTP400:
content:
application/json:
examples:
Example:
$ref: '#/components/examples/HTTP400Example'
schema:
$ref: '#/components/schemas/response_http400'
application/vnd.api+json:
examples:
Example:
$ref: '#/components/examples/HTTP400Example'
schema:
$ref: '#/components/schemas/response_http400'
description: Bad Syntax
parameters:
partial_filter_mac_usermac:
description: Partial / full Client MAC Address. Use `prefix*` for prefix search or `*substring*` for contains search (e.g. `aabbcc*` and `*bbcc*` match `aabbccddeeff`). Suffix-only wildcards (e.g. `*bccddeeff`) are not supported
in: query
name: mac
schema:
examples:
- aabbccddeeff
- aabbcc*
- '*bbcc*'
type: string
end:
description: End time (epoch timestamp in seconds, or relative string like "-1d", "-2h", "now")
in: query
name: end
schema:
type: string
start:
description: Start time (epoch timestamp in seconds, or relative string like "-1d", "-1w")
in: query
name: start
schema:
type: string
limit:
in: query
name: limit
schema:
default: 100
minimum: 0
type: integer
page:
in: query
name: page
schema:
default: 1
minimum: 1
type: integer
sort:
description: On which field the list should be sorted, -prefix represents DESC order
in: query
name: sort
schema:
default: timestamp
examples:
- -site_id
type: string
usermac_id:
in: path
name: usermac_id
required: true
schema:
examples:
- 000000ab-00ab-00ab-00ab-0000000000ab
format: uuid
type: string
org_id:
in: path
name: org_id
required: true
schema:
examples:
- 000000ab-00ab-00ab-00ab-0000000000ab
format: uuid
type: string
securitySchemes:
apiToken:
description: "Like many other API providers, it’s also possible to generate API Tokens to be used (in HTTP Header) for authentication. An API token ties to a Admin with equal or less privileges.\n\n**Format**:\n API Token value format is `Token {apitoken}`\n\n**Notes**:\n* an API token generated for a specific admin has the same privilege as the user\n* an API token will be automatically removed if not used for > 90 days\n* SSO admins cannot generate these API tokens. Refer Org level API tokens which can have privileges of a specific Org/Site for more information."
in: header
name: Authorization
type: apiKey
basicAuth:
description: While our current UI uses Session / Cookie-based authentication, it’s also possible to do Basic Auth.
scheme: basic
type: http
csrfToken:
description: "This protects the website against [Cross Site Request Forgery](https://en.wikipedia.org/wiki/Cross-site_request_forgery), all the POST / PUT / DELETE APIs needs to have CSRF token in the AJAX Request header when using Login/Password authentication (with or without MFA)\n\n\nThe CSRF Token is sent back by Mist in the Cookies from the Login Response API Call:\n`cookies[csrftoken]` \n\nThe CSRF Token must be added in the HTTP Request Headers:\n```\nX-CSRFToken: vwvBuq9qkqaKh7lu8tNc0gkvBfEaLAmx\n```"
in: header
name: X-CSRFToken
type: apiKey