Skip to content

Authentication and security

Nexus uses different credential types for public publisher APIs, member APIs, and OpenRTB.

ProductCredentialTransport
Search APIScoped publisher API keytoken query parameter
XML APIScoped publisher API keytoken query parameter
MCPScoped publisher API keyAuthorization: Bearer ...
Advertiser APIMember access JWT or same-origin sessionAuthorization header or secure cookie
OpenRTBPartner-specific configurationAgreed HTTPS bidder endpoint

Query-string compatibility

Search and XML keep query-string authentication for backward compatibility. Query strings can appear in browser history, reverse-proxy logs, and monitoring systems. Never paste a production URL containing a real token into chat, email, or screenshots.

Publisher API key scopes

ScopeAccess
publisher:search:readSearch reports and Search link metadata
publisher:xml:readXML statistics for owned TIDs

The API also enforces member role, tenant ownership, optional source-IP restrictions, expiration, revocation, and rate limits.

MCP header

http
Authorization: Bearer YOUR_NEXUS_API_KEY
Content-Type: application/json

The API key must never be placed in the MCP URL.

Advertiser member token

http
Authorization: Bearer MEMBER_ACCESS_TOKEN

Search/XML publisher keys are rejected by advertiser endpoints. The backend derives the tenant and advertiser UID from the authenticated member and does not allow the caller to select another member.

Credential handling

  • Store secrets in a secret manager or protected environment variable.
  • Grant only the required scopes.
  • Configure source-IP restrictions where the client has stable egress IPs.
  • Rotate and revoke credentials when a machine, user, or integration is retired.
  • Redact Authorization, cookies, query tokens, passwords, and API keys from logs.
  • Use HTTPS only.

White-label Nexus API documentation