Stellantis Auth API

Authentication endpoint for obtaining and refreshing access tokens.

GitHub OpenAPI

Operations 8

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

POST /api/v1/auth Get an OAuth2 access token · OAuth2 token endpoint. Supports the `password` and `refresh_token` grant types #
Ask an LLM
“How do I exchange a username and password for an access token?”
“Can I refresh an expired token with a refresh token?”
Tell an agent
Get an access token using grant type {grant_type} for {username} with password {password}.
Refresh my token using refresh token {refresh_token}.
POST /v1/auth/token Get an auth token via username and password headers · Token #
Ask an LLM
“Can I fetch an auth token by sending the username and password in the headers?”
“What headers does the v1 auth token endpoint expect?”
Tell an agent
Fetch a v1 auth token for user {user} with password {password}.
Get a token for {user} using the v1 endpoint and password {password}.
OPTIONS /v1/auth/token Describe the v1 auth token endpoint · Describe auth token #
Ask an LLM
“What does the v1 auth token endpoint accept?”
“Which methods does the v1 token endpoint support?”
Tell an agent
Describe the v1 auth token endpoint.
Show the v1 token endpoint's supported methods.
POST /v4/auth/token Fetch an auth token for a user · Fetches an authentication token for a user #
Ask an LLM
“How do I get an auth token for a user using their secret key?”
“Can I fetch a token for a user by their user ID and secret key?”
Tell an agent
Fetch an auth token for user {userId} using secret key {secretKey}.
Get a token for {userId} with secret key {secretKey}.
POST /v4/auth/bankid/begin Start a BankID verification · Begins a BankID verification process #
Ask an LLM
“How do I start a BankID verification for a user?”
“Can I begin a BankID sign-in for a user?”
Tell an agent
Begin a BankID verification for this user.
Start a BankID sign-in process.
POST /v4/auth/bankid/begin-on-file Start a BankID-on-file verification · Begins a BankID-on-file verification process #
Ask an LLM
“How do I start a BankID-on-file verification?”
“Can I begin a BankID sign-in from a file?”
Tell an agent
Begin a BankID-on-file verification.
Start a BankID sign-in from a file.
GET /v4/auth/bankid/progress Check a BankID verification progress · Gets the progress of a BankID verification #
Ask an LLM
“Has the user finished their BankID verification?”
“How far along is a BankID verification?”
Tell an agent
Check the progress of BankID verification {bankIdOrderRef}.
Get the status of BankID order {bankIdOrderRef}.
POST /v4/auth/bankid/cancel Cancel a BankID verification · Cancels an ongoing BankID verification #
Ask an LLM
“Can I cancel a BankID verification that is still in progress?”
“How do I stop a BankID sign-in?”
Tell an agent destructive · confirm first
Cancel BankID verification {bankIdOrderRef}.
Stop the BankID sign-in with order reference {bankIdOrderRef}.

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/stellantis:stellantis-auth-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 Specification

stellantis-auth-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Telenor Sverige Auth API
  version: '1.0'
  description: 'Operations tagged Auth across 3 of this provider''s published API definitions: rotageek-openapi.yml, stellantis_swagger.yml, tradera-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.stellantis-developers.com
tags:
- name: Auth
  description: Authentication endpoint for obtaining and refreshing access tokens.
paths:
  /api/v1/auth:
    post:
      tags:
      - Auth
      summary: OAuth2 token endpoint. Supports the `password` and `refresh_token` grant types
      operationId: Auth_Token
      requestBody:
        content:
          application/x-www-form-urlencoded:
            schema:
              type: object
              properties:
                grant_type:
                  enum:
                  - password
                  - refresh_token
                  type: string
                username:
                  type: string
                password:
                  type: string
                  format: password
                refresh_token:
                  type: string
            encoding:
              grant_type:
                style: form
              username:
                style: form
              password:
                style: form
              refresh_token:
                style: form
      responses:
        '200':
          description: OK
      security:
      - Bearer: []
  /v1/auth/token:
    post:
      operationId: token
      parameters:
      - name: user
        in: header
        required: false
        schema:
          type: string
      - name: password
        in: header
        required: false
        schema:
          type: string
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Access-Control-Allow-Methods:
              schema:
                type: string
            Access-Control-Allow-Headers:
              schema:
                type: string
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AuthTokenResponse'
        '400':
          description: 400 response
        '403':
          description: 403 response
      x-amazon-apigateway-request-validator: validate_body
      x-amazon-apigateway-integration:
        httpMethod: POST
        uri: arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:797059771617:function:stellanova-token-auth/invocations
        responses:
          default:
            statusCode: '200'
            responseParameters:
              method.response.header.Access-Control-Allow-Origin: '''*'''
        passthroughBehavior: when_no_match
        timeoutInMillis: 29000
        contentHandling: CONVERT_TO_TEXT
        type: aws_proxy
      tags:
      - Auth
      summary: Token
      x-summary-source: derived
    options:
      responses:
        '200':
          description: 200 response
          headers:
            Access-Control-Allow-Origin:
              schema:
                type: string
            Access-Control-Allow-Methods:
              schema:
                type: string
            Access-Control-Allow-Credentials:
              schema:
                type: string
            Access-Control-Allow-Headers:
              schema:
                type: string
      x-amazon-apigateway-integration:
        httpMethod: POST
        uri: arn:aws:apigateway:us-east-1:lambda:path/2015-03-31/functions/arn:aws:lambda:us-east-1:797059771617:function:stellanova-token-auth/invocations
        responses:
          default:
            statusCode: '200'
            responseParameters:
              method.response.header.Access-Control-Allow-Methods: '''OPTIONS,POST'''
              method.response.header.Access-Control-Allow-Headers: '''Content-Type,X-Amz-Date,Authorization,X-Api-Key,X-Amz-Security-Token'''
              method.response.header.Access-Control-Allow-Origin: '''*'''
        passthroughBehavior: when_no_match
        timeoutInMillis: 29000
        contentHandling: CONVERT_TO_TEXT
        type: aws_proxy
      tags:
      - Auth
      summary: Describe auth token
      x-summary-source: derived
      operationId: optionsV1AuthToken
      x-operation-id-source: derived
    servers:
    - url: https://api.stellantis-developers.com
  /v4/auth/token:
    post:
      tags:
      - Auth
      summary: Fetches an authentication token for a user
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/FetchTokenRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/FetchTokenRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/FetchTokenRequest'
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/Token'
            application/json:
              schema:
                $ref: '#/components/schemas/Token'
            text/json:
              schema:
                $ref: '#/components/schemas/Token'
      security:
      - AppAuth: []
        AppKeyAuth: []
        UserAuth: []
        UserTokenAuth: []
      operationId: postV4AuthToken
      x-operation-id-source: derived
  /v4/auth/bankid/begin:
    post:
      tags:
      - Auth
      summary: Begins a BankID verification process
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/BeginBankIdVerificationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/BeginBankIdVerificationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/BeginBankIdVerificationResult'
      security:
      - AppAuth: []
        AppKeyAuth: []
        UserAuth: []
        UserTokenAuth: []
      operationId: postV4AuthBankidBegin
      x-operation-id-source: derived
  /v4/auth/bankid/begin-on-file:
    post:
      tags:
      - Auth
      summary: Begins a BankID-on-file verification process
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/BeginBankIdOnFileVerificationResult'
            application/json:
              schema:
                $ref: '#/components/schemas/BeginBankIdOnFileVerificationResult'
            text/json:
              schema:
                $ref: '#/components/schemas/BeginBankIdOnFileVerificationResult'
      security:
      - AppAuth: []
        AppKeyAuth: []
        UserAuth: []
        UserTokenAuth: []
      operationId: postV4AuthBankidBeginOnFile
      x-operation-id-source: derived
  /v4/auth/bankid/progress:
    get:
      tags:
      - Auth
      summary: Gets the progress of a BankID verification
      parameters:
      - name: bankIdOrderRef
        in: query
        schema:
          type: string
      responses:
        '200':
          description: OK
          content:
            text/plain:
              schema:
                $ref: '#/components/schemas/GetBankIdVerificationProgressResult'
            application/json:
              schema:
                $ref: '#/components/schemas/GetBankIdVerificationProgressResult'
            text/json:
              schema:
                $ref: '#/components/schemas/GetBankIdVerificationProgressResult'
      security:
      - AppAuth: []
        AppKeyAuth: []
        UserAuth: []
        UserTokenAuth: []
      operationId: getV4AuthBankidProgress
      x-operation-id-source: derived
  /v4/auth/bankid/cancel:
    post:
      tags:
      - Auth
      summary: Cancels an ongoing BankID verification
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CancelBankIdVerificationRequest'
          text/json:
            schema:
              $ref: '#/components/schemas/CancelBankIdVerificationRequest'
          application/*+json:
            schema:
              $ref: '#/components/schemas/CancelBankIdVerificationRequest'
      responses:
        '200':
          description: OK
      security:
      - AppAuth: []
        AppKeyAuth: []
        UserAuth: []
        UserTokenAuth: []
      operationId: postV4AuthBankidCancel
      x-operation-id-source: derived
components:
  schemas:
    AuthTokenResponse:
      type: object
      properties:
        access_token:
          type: string
        token_type:
          type: string
        expires_in:
          type: integer
          format: int32
    Token:
      type: object
      properties:
        authToken:
          type:
          - string
          - 'null'
        hardExpirationTime:
          type: string
          format: date-time
      additionalProperties: false
    FetchTokenRequest:
      type: object
      properties:
        userId:
          type: integer
          description: The user ID to fetch a token for.
          format: int32
        secretKey:
          type:
          - string
          - 'null'
          description: The secret key for token generation.
      additionalProperties: false
      description: Request body for the FetchToken endpoint.
    BeginBankIdOnFileVerificationResult:
      type: object
      properties:
        bankIdOrderRef:
          type:
          - string
          - 'null'
        error:
          type:
          - string
          - 'null'
        autoStartToken:
          type:
          - string
          - 'null'
      additionalProperties: false
    GetBankIdVerificationProgressResult:
      type: object
      properties:
        isCompleted:
          type: boolean
        progress:
          type:
          - string
          - 'null'
        error:
          type:
          - string
          - 'null'
        qrData:
          type:
          - string
          - 'null'
      additionalProperties: false
    BeginBankIdVerificationResult:
      type: object
      properties:
        bankIdOrderRef:
          type:
          - string
          - 'null'
        error:
          type:
          - string
          - 'null'
        qrData:
          type:
          - string
          - 'null'
        autoStartToken:
          type:
          - string
          - 'null'
      additionalProperties: false
    CancelBankIdVerificationRequest:
      type: object
      properties:
        bankIdOrderRef:
          type:
          - string
          - 'null'
          description: The BankID order reference to cancel.
      additionalProperties: false
      description: Request body for the CancelBankIdVerification endpoint.
  securitySchemes:
    Bearer:
      type: http
      description: Paste the JWT access token returned by POST /api/v1/auth. Swagger adds the 'Bearer ' prefix automatically.
      scheme: bearer
      bearerFormat: JWT
    oauth2:
      type: oauth2
      description: OAuth2 Password Grant
      flows:
        password:
          tokenUrl: /api/v1/auth
          scopes: {}
    api_key:
      type: apiKey
      name: x-api-key
      in: header
    SDK-Cognito-Authorizer:
      type: apiKey
      name: Authorization
      in: header
      x-amazon-apigateway-authtype: cognito_user_pools
      x-amazon-apigateway-authorizer:
        providerARNs:
        - arn:aws:cognito-idp:us-east-1:797059771617:userpool/us-east-1_y8aYykgiQ
        type: cognito_user_pools
    AppAuth:
      type: apiKey
      description: Application ID
      name: X-App-Id
      in: header
    AppKeyAuth:
      type: apiKey
      description: Application Key
      name: X-App-Key
      in: header
    UserAuth:
      type: apiKey
      description: User ID
      name: X-User-Id
      in: header
    UserTokenAuth:
      type: apiKey
      description: User Token
      name: X-User-Token
      in: header
x-refined-from:
- rotageek-openapi.yml
- stellantis_swagger.yml
- tradera-openapi.yml