Driver and Vehicle Licensing Agency (DVLA) Authenticate User API

The Authenticate User API from Driver and Vehicle Licensing Agency (DVLA) — 1 operation(s) for authenticate user.

GitHub OpenAPI

Operations 1

POST /v1/authenticate Create authenticate #

Documentation

Specifications

Schemas & Data

Other Resources

Work with this as data

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/dvla-gov-uk:dvla-gov-uk-authenticate-user-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. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dvla-gov-uk-authenticate-user-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Authentication Authenticate User API
  version: 1.0.7
  description: API to provide user authentication, change password and change API Key services
  contact:
    name: DVLA API Team
    email: DVLASecureAccess@dvla.gov.uk
servers:
- url: https://driver-vehicle-licensing.api.gov.uk/thirdparty-access
tags:
- name: Authenticate User
paths:
  /v1/authenticate:
    post:
      tags:
      - Authenticate User
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthResponse'
        '400':
          description: Bad Request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MalformedRequestErrors'
        '401':
          description: Authentication Failure
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthenticationErrors'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AuthRequest'
        description: Request
        required: true
      summary: Create authenticate
      x-summary-source: derived
      operationId: postV1Authenticate
      x-operation-id-source: derived
components:
  schemas:
    AuthenticationErrors:
      type: array
      items:
        $ref: '#/components/schemas/AuthenticationError'
      example:
      - status: '401'
        code: '401'
        title: Authentication Failure
        detail: Supplied username or password was incorrect, or too many incorrect attempts have been made.
    MalformedRequestError:
      type: object
      properties:
        status:
          type: integer
        code:
          type: integer
        title:
          type: string
        detail:
          type: string
      example:
        status: '400'
        code: '400'
        title: Malformed request
      required:
      - title
    AuthRequest:
      type: object
      properties:
        userName:
          type: string
        password:
          type: string
      example:
        userName: sallydev01
        password: ALongExamplePassword+
    MalformedRequestErrors:
      type: array
      items:
        $ref: '#/components/schemas/MalformedRequestError'
      example:
      - status: '400'
        code: '400'
        title: Malformed request
    AuthResponse:
      type: object
      properties:
        id-token:
          type: string
      example:
        id-token: eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJzdWIiOiIxMjM0NTY3ODkwIiwibmFtZSI6IlNhbGx5IERldiIsImlhdCI6MTUxNjIzOTAyMn0.G9FgN-Ox0Q8vAQ2D0VEt9FLEeE8oeBjx4l8r07dne6I
    AuthenticationError:
      type: object
      properties:
        status:
          type: integer
        code:
          type: integer
        title:
          type: string
        detail:
          type: string
      example:
        status: '401'
        code: '401'
        title: Authentication Failure
        detail: Supplied username or password was incorrect, or too many incorrect attempts have been made.
      required:
      - title