openapi: 3.0.3 info: title: D&B Direct+ Authentication API description: D&B Direct+ is Dun & Bradstreet's RESTful API platform that exposes the D&B Data Cloud — more than 500 million companies worldwide — for identity resolution, search, enrichment, multi-process (match plus enrich), batch processing, change monitoring, and historical research. All endpoints return JSON, are versioned in the URI path, and require an OAuth 2.0 bearer token obtained from the /v3/token endpoint via client-credentials grant. This profile is an OpenAPI sketch of the public surface based on Dun & Bradstreet's published Direct+ documentation; the canonical operation definitions live behind the gated developer portal at https://directplus.documentation.dnb.com/. version: '3.0' contact: name: D&B Direct+ Support url: https://service.dnb.com/ termsOfService: https://www.dnb.com/utility-pages/terms-of-use.html license: name: Proprietary url: https://www.dnb.com/utility-pages/terms-of-use.html servers: - url: https://plus.dnb.com description: Production tags: - name: Authentication description: OAuth 2.0 token issuance for Direct+. paths: /v3/token: post: tags: - Authentication summary: Generate Direct+ Access Token description: Exchange Direct+ API credentials for an OAuth 2.0 bearer access token using the client-credentials grant. The returned token is included as a Bearer authorization header on all subsequent Direct+ calls. operationId: generateAccessToken security: - basicAuth: [] requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/TokenRequest' responses: '200': description: Access token issued. content: application/json: schema: $ref: '#/components/schemas/TokenResponse' '401': $ref: '#/components/responses/Unauthorized' components: schemas: TokenResponse: type: object properties: access_token: type: string token_type: type: string example: Bearer expirationDateTime: type: string format: date-time TokenRequest: type: object required: - grant_type properties: grant_type: type: string enum: - client_credentials Error: type: object properties: transactionDetail: $ref: '#/components/schemas/TransactionDetail' error: type: object properties: errorMessage: type: string errorCode: type: string errorDetails: type: array items: type: object TransactionDetail: type: object properties: transactionID: type: string transactionTimestamp: type: string format: date-time inLanguage: type: string serviceVersion: type: string responses: Unauthorized: description: Missing or invalid bearer token. content: application/json: schema: $ref: '#/components/schemas/Error' securitySchemes: bearerAuth: type: http scheme: bearer bearerFormat: JWT basicAuth: type: http scheme: basic