Easily Integrate
X's API using Konfig's TypeScript SDK
Growing API Companies trust Konfig's SDKs to onboard developers to their API.





First, instantiate the SDK
It only takes a few lines of code.
Then, send your first request
We made it really easy.
Enjoy a buttery smooth developer experience with 80 SDK methods
Parameter
Type of Compliance Job to list.
Status of Compliance Job to list.
A comma separated list of ComplianceJob fields to display.
Response
Endpoint
Parameter
Response
Endpoint
Parameter
The ID of the Compliance Job to retrieve.
A comma separated list of ComplianceJob fields to display.
Response
Endpoint
Parameter
Response
Endpoint
Parameter
The ID of the participant user for the One to One DM conversation.
The maximum number of results.
This parameter is used to get a specified 'page' of results.
The set of event_types to include in the results.
A comma separated list of DmEvent fields to display.
A comma separated list of fields to expand.
A comma separated list of Media fields to display.
A comma separated list of User fields to display.
A comma separated list of Tweet fields to display.
Response
Endpoint
Parameter
The ID of the recipient user that will receive the DM.
Response
Endpoint
How Konfig Works
Konfig collects APIs and automatically generates SDKs so you can focus on building your application.
Konfig maintains the highest quality collection of OpenAPI Specifications on the internet in a GitHub repository
We pull OpenAPI Specifications from public sources, fix any errors, and make sure they pass our lint rules. We continually make sure the repository is up-to-date and collect up-time and response time metrics for every API.

Generates AI-Augmented SDKs from openapi-examples
Our SDK generator is trusted by growing API companies and goes through a rigorous testing process to ensure the generated SDKs are high-quality and easy to use.

Publishes to standard package managers
We publish to standard package managers like npm, PyPI, and Maven so you can easily integrate the SDK into your application.

About X
Publish & analyze posts, optimize ads, & create unique customer experiences with the X API, X Ads API, & X Embeds.
