Skip to content

TypeScript SDK for the Attio API (auto-generated from OpenAPI spec)

License

Notifications You must be signed in to change notification settings

rocketsciencegg/attio-typescript-sdk

Repository files navigation

attio-typescript-sdk

This is a public, open source repository. Contributions and issues welcome.

TypeScript SDK for the Attio API (CRM platform), auto-generated from OpenAPI spec.

Installation

npm install github:rocketsciencegg/attio-typescript-sdk

Pin a specific version:

npm install github:rocketsciencegg/attio-typescript-sdk#v1.0.0

Quick Start

import { RecordsApi, Configuration } from 'attio-typescript-sdk';

const config = new Configuration({ accessToken: process.env.ATTIO_API_KEY });
const api = new RecordsApi(config);

const records = await api.listRecords({ object: 'people' });
console.log(records.data);

Authentication

OAuth2 bearer token is the primary authentication method. Configure via the Configuration class:

const config = new Configuration({ accessToken: 'your-token' });

All methods accept a single typed request parameter object plus optional RawAxiosRequestConfig, returning Promise<AxiosResponse<T>>.

API Reference

See the generated docs for all available methods and models.

API Classes (15 total)

AttributesApi, ObjectsApi, RecordsApi, ListsApi, EntriesApi, TasksApi, NotesApi, CommentsApi, ThreadsApi, MeetingsApi, CallRecordingsApi, TranscriptsApi, WebhooksApi, WorkspaceMembersApi, MetaApi

How This SDK Is Generated

Generated from attio.json using OpenAPI Generator v7.19.0 (typescript-axios).

just install   # System deps (Java)
just build     # Regenerate + compile
just compile   # TypeScript only

Generated Files

All .ts source files and docs/ are auto-generated. Do not edit manually. Custom files (README, justfile, .github/, CLAUDE.md) are protected via .openapi-generator-ignore.

License

MIT

About

TypeScript SDK for the Attio API (auto-generated from OpenAPI spec)

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •