SDKs and LLMs

OpenAPI codegen for 50+ programming languages, with LLMs.txt support

📘

Looking to get started right away with the Digits MCP server? No app required - setup instructions here.

OpenAPI Specification

The Digits Connect API provides a complete OpenAPI 3.0 specification that describes all available endpoints, request parameters, response schemas, and authentication requirements. The spec is available at:

https://developer.digits.com/openapi

This machine-readable specification enables automatic code generation, API testing, and integration with development tools.

Client Code Generation

You can generate a client library in your preferred programming language using the OpenAPI Generator tool. OpenAPI Generator supports 50+ languages and frameworks including:

  • Languages: Python, Java, JavaScript/TypeScript, Go, Ruby, PHP, C#, Swift, Kotlin
  • Frameworks: Node.js, Spring, Django, Rails, and more

Using OpenAPI Generator

  1. Install OpenAPI Generator from https://github.com/OpenAPITools/openapi-generator

  2. Generate a client for your language:

    openapi-generator-cli generate \
      -i https://developer.digits.com/openapi \
      -g <language> \
      -o ./connect-client
  3. Replace <language> with your target (e.g., python, typescript-node, java, go)

The generated client will include typed methods for all API endpoints, request/response models, and built-in OAuth2 authentication handling.

LLMs.txt for AI Context

The Digits Connect API documentation also provides an llms.txt file that helps AI assistants understand the API documentation structure and content. This file is automatically available at:

https://developer.digits.com/llms.txt

What is llms.txt?

llms.txt is a configuration file that provides AI language models with structured metadata about your API documentation, including:

  • Documentation organization and content hierarchy
  • API version information
  • API-specific terminology
  • Links to guides, API references, and other resources

Benefits

  • Ensures AI assistants reference current documentation rather than outdated information
  • Reduces inaccurate or fabricated responses about the API
  • Requires zero maintenance—automatically updates with documentation changes
  • Works with popular AI assistants like ChatGPT and Claude

This standard makes it easier for developers to get accurate answers about the Connect API when using AI coding assistants.