Agave Link Sessions API

Agave Link session management for user authentication.

Operations 1

POST /link-sessions Agave Create Link Session #

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/agave-link-sessions-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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

agave-link-sessions-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Agave Unified Construction Budgets Link Sessions API
  description: The Agave Unified Construction API provides a single REST API to read and write data from 100+ construction and accounting software systems. It normalizes data across platforms including projects, budgets, contracts, commitments, purchase orders, invoices, cost codes, vendors, timesheets, and employees.
  version: '1.0'
  contact:
    name: Agave API Support
    url: https://docs.agaveapi.com
  x-generated-from: documentation
servers:
- url: https://api.agaveapi.com
  description: Production Server (verified 2026-08-30 — https://api.agaveapi.com/projects returns 401
    "Invalid API-Version header"; the /v1 prefix previously carried here 404s and sandbox.agaveapi.com
    does not resolve)
security:
- ClientId: []
  ClientSecret: []
  AccountToken: []
tags:
- name: Link Sessions
  description: Agave Link session management for user authentication.
paths:
  /link-sessions:
    post:
      operationId: createLinkSession
      summary: Agave Create Link Session
      description: Create a new Agave Link session token for a user to authenticate with a source system.
      tags:
      - Link Sessions
      requestBody:
        required: true
        description: Link session creation payload.
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/LinkSessionRequest'
            examples:
              createLinkSessionRequestExample:
                summary: Default createLinkSession request
                x-microcks-default: true
                value:
                  reference_id: '500123'
                  redirect_url: https://example.com
      responses:
        '201':
          description: Link session created successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/LinkSession'
              examples:
                createLinkSession201Example:
                  summary: Default createLinkSession 201 response
                  x-microcks-default: true
                  value:
                    link_token: example_value
                    reference_id: '500123'
                    expires_at: '2025-03-15T14:30:00Z'
        '400':
          description: Invalid request.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
              examples:
                createLinkSession400Example:
                  summary: Default createLinkSession 400 response
                  x-microcks-default: true
                  value:
                    error: example_value
                    message: example_value
                    request_id: '500123'
      x-microcks-operation:
        delay: 0
        dispatcher: FALLBACK
components:
  schemas:
    Error:
      type: object
      description: API error response.
      properties:
        error:
          type: string
          description: Error code.
          example: not_found
        message:
          type: string
          description: Human-readable error description.
          example: The requested resource was not found.
        request_id:
          type: string
          description: Unique request ID for support.
          example: req-a1b2c3d4e5
    LinkSessionRequest:
      type: object
      description: Request payload for creating an Agave Link session.
      required:
      - reference_id
      properties:
        reference_id:
          type: string
          description: Unique identifier for the user or entity linking their account.
          example: user-789-procore
        redirect_url:
          type: string
          description: URL to redirect the user to after completing the link flow.
          example: https://myapp.com/integration/callback
    LinkSession:
      type: object
      description: An Agave Link session token.
      properties:
        link_token:
          type: string
          description: Token to initialize the Agave Link component for the user.
          example: link-token-abc123xyz456
        reference_id:
          type: string
          description: The reference ID associated with this session.
          example: user-789-procore
        expires_at:
          type: string
          format: date-time
          description: Timestamp when the link token expires.
          example: '2025-03-15T16:30:00Z'
  securitySchemes:
    ClientId:
      type: apiKey
      in: header
      name: Client-Id
      description: Your Agave Client Identifier, always a 36-character UUID. Source https://docs.agaveapi.com/agave-api/headers
    ClientSecret:
      type: apiKey
      in: header
      name: Client-Secret
      description: Your Agave Client Secret, a 40-character string. Source https://docs.agaveapi.com/agave-api/headers
    AccountToken:
      type: apiKey
      in: header
      name: Account-Token
      description: The unique Account Token associated with the linked User account. Not used on Link Token requests. Source https://docs.agaveapi.com/agave-api/headers