How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

Juniper Networks Orgs NAC Portals API

NAC Portals are for onboard Wireless and Wired client with 802.1XThe NAC Portal is a web-based interface that allows users to authenticate andgain access to the network. It is typically used for guest access or for devicesthat do not have a pre-configured certificate for 802.1X authentication.It can also be used to provision certificates for devices that require them with the Mist Application.### NAC-Based External Guest Portal Authorization / How to implement a External Guest Portal#### ContextIn the guest portal flow, context such as SSID, guest MAC, AP MAC is required to unique identify the guest, if it's already authorized (e.g. roam to another AP), and used to instruct the AP to stop redirecting/blocking the user traffic#### RedirectGuest Device (or CNA in MacOS/iOS term) will be redirected to, e.g. “?ap_mac=5c5b35001234&ssid=Guest&…”| Name | Type | Description | |------|------|-------------| | ap_mac | string | AP's MAC address | | site_id | string | Site ID | | device_mac | string | Device's MAC address (the device that blocks the traffic) | | ssid | string | for wireless | | port_name | string | for wired (e.g. eth0, ge-0/0/13) | | client_mac | string | Client's MAC address | #### AuthorizeOnce the guest has gone through your portal flow, authorize them by redirect the user to```GET https://url_generated_by_portal_authorize_url?jwt=```This can be generated by```pythonimport jwtsecret = "EIfPMOykI3lMlDdNPub2WcbqT6dNOtWwmYHAd6bY" # from portal_authorize_jwt_secret above payload = { # for wireless "ap_mac": "5c5b35001234", "wlan_id": "be22bba7-8e22-e1cf-5185-b880816fe2cf", # only for _wireless_ captive portal "client_mac": "d58f6bb4c9d8", # for wired "device_mac": "5c5b35001234", "port_name": "eth0", # only for _wired_ captive portal" "client_mac": "d58f6bb4c9d8", # common # how long should we authorize this session "minutes": 480, "expires": 1768587994, # alternatively # instead of the original URL the user is trying to go to, redirect the user to this URL "forward": "http://www.mist.com", # for testing: if authorize_only=true and authorization is successful, 200 OK will be returned instead of 302 Redirect the user to the `forward` URL "authorize_only": False}encoded_jwt = jwt.encode(payload, secret, algorithm='HS256')```

Juniper Networks Orgs NAC Portals API is one of 263 APIs that Juniper Networks publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

Tagged areas include Orgs NAC Portals. The published artifact set on APIs.io includes an OpenAPI specification, an API reference, API documentation, a getting-started guide, and rate-limit docs.

This API exposes 11 operations across 7 paths, and defines 19 schemas. It is described by OpenAPI 3.2.0, at version 2607.1.1.

Requests are made against 12 base URLs: https://api.mist.com, https://api.gc1.mist.com, https://api.ac2.mist.com, https://api.gc2.mist.com, https://api.gc4.mist.com, https://api.eu.mist.com, https://api.gc3.mist.com, https://api.ac6.mist.com, https://api.gc6.mist.com, https://api.ac5.mist.com, https://api.gc5.mist.com, https://api.gc7.mist.com.

11 operations 7 paths 19 schemas 2 DELETE5 GET2 POST2 PUT

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
2607.1.1
Base URL
netconf://[device-ip]:830
Authentication
API Key, API Key
Resource Areas
1

Authentication & Security 2

Juniper Networks Orgs NAC Portals API declares 2 security schemes for authenticating requests. An API key is passed in the header as Authorization (apiToken). An API key is passed in the header as X-CSRFToken (csrfToken). By default, every request must be authenticated.

  • apiToken — Preferred authentication method for automation and integrations. Send the API token in the HTTP Authorization header. Format: Authorization: Token {apitoken} N…
  • csrfToken — Session-based authentication for browser or login/password flows. After a successful [Login]($e/Admins%20Login/login) request, Mist returns a csrftoken cookie.…

Paths & Operations 11

Across 7 paths, the API surfaces 11 operations — 2 DELETE, 5 GET, 2 POST, 2 PUT. Each is listed below with its method, path, parameters, and response codes.

Orgs NAC Portals 11

NAC Portals are for onboard Wireless and Wired client with 802.1X The NAC Portal is a web-based interface that allows users to authenticate and gain access to the network.

GET
/api/v1/orgs/{org_id}/nacportals
listOrgNacPortals
listOrgNacPortals 3 params → 200400401403404429
POST
/api/v1/orgs/{org_id}/nacportals
createOrgNacPortal
createOrgNacPortal 1 param body → 200400401403404429
DELETE
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}
deleteOrgNacPortal
deleteOrgNacPortal 2 params → 200400401403404429
GET
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}
getOrgNacPortal
getOrgNacPortal 2 params → 200400401403404429
PUT
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}
updateOrgNacPortal
updateOrgNacPortal 2 params body → 200400401403404429
GET
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/failures
listOrgNacPortalSsoLatestFailures
listOrgNacPortalSsoLatestFailures 7 params → 200400401403404429
DELETE
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/portal_image
deleteOrgNacPortalImage
deleteOrgNacPortalImage 2 params → 200400401403404429
POST
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/portal_image
uploadOrgNacPortalImage
uploadOrgNacPortalImage 2 params body → 200400401403404429
PUT
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/portal_template
updateOrgNacPortalTemplate
updateOrgNacPortalTemplate 2 params body → 200400401403404429
GET
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/saml_metadata
getOrgNacPortalSamlMetadata
getOrgNacPortalSamlMetadata 2 params → 200400401403404429
GET
/api/v1/orgs/{org_id}/nacportals/{nacportal_id}/saml_metadata.xml
downloadOrgNacPortalSamlMetadata
downloadOrgNacPortalSamlMetadata 2 params → 200400401403404429

Schemas 19

The contract defines 19 schemas that model the data the API accepts and returns. The most detailed are nac_portal (24 properties), nac_portal_guest_portal2 (8 properties), nac_portal_sso2 (7 properties), saml_metadata (5 properties). Each schema is shown below with its type and property counts.

nac_portal_type2
string
NAC portal mode, such as guest admin, guest portal, or Marvis client onboarding. enum: guestadmin, guestportal, marvisclient.
nac_portal_eap_type2
string
EAP mode used when onboarding wireless clients through the NAC portal. enum: wpa2, wpa3.
portal_template_alignment4
string
Text and content alignment for the NAC portal page. enum: center, left, right.
nac_portal_guest_portal_auth2
string
Mode presented by the NAC guest portal for user authentication. enum: external, multi, none.
nac_portal_sso2
object
SAML SSO settings for NAC portal authentication and role mapping
7 properties
response_sso_failure_search
object
Response containing recent SSO authentication failure records
1 property 1 required
response_sso_failure_search_item
object
SSO authentication failure record
3 properties 3 required
nac_portal_sso_role_matching
object
Mapping rule from an SSO role claim value to a NAC portal role
2 properties
response_http404
object
Standard HTTP 404 not found error response
1 property
response_http403
object
Standard HTTP 403 permission error response
1 property
nac_portal_access_type2
string
If type==marvisclient, whether onboarding applies to wireless clients or both wireless and wired clients. enum: wireless, wireless+wired.
response_http400
object
Standard HTTP 400 bad request error response
1 property
response_http429
object
Standard HTTP 429 rate limit error response
1 property
nac_portal
object
NAC portal configuration for 802.1X onboarding, guest access, or Marvis client certificate provisioning
24 properties
nac_portal_template
object
Visual template settings for a NAC portal
4 properties
nac_portal_sso_idp_sign_algo2
string
Signing algorithm expected for SAML assertions from the identity provider. enum: sha1, sha256, sha384, sha512.
nac_portal_guest_portal2
object
Guest portal settings used when type==guestportal
8 properties
response_http401
object
Standard HTTP 401 authentication error response
1 property
saml_metadata
object
Read-only SAML and SCIM metadata generated for an SSO configuration
5 properties

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

juniper-orgs-nac-portals-api-openapi.yml Raw ↑

Other APIs Juniper Networks publishes across the network.

Junos PyEZ (Python API)
JSNAPy API
Juniper Networks Allowlists and Blocklists API
Juniper Networks Analytics API
Juniper Networks Audit Logs API
Juniper Networks Authentication API
Juniper Networks BGP Routers API
Juniper Networks Blueprints API
Juniper Networks Clients API
Juniper Networks Configlets API
Juniper Networks Configuration API
Juniper Networks Connectivity Templates API
Where this information came from

This is an independent, third-party profile of Juniper Networks Orgs NAC Portals API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.