Skip to main content

Easily Integrate
Wink's API using Konfig's TypeScript SDK

Need a TypeScript SDK for Wink's API?

Growing API Companies trust Konfig's SDKs to onboard developers to their API.

SnapTradeHumanloopSplititLeapGroundx

First, instantiate the SDK

It only takes a few lines of code.

index.ts

import { Wink } from 'wink-typescript-sdk';
const wink = new Wink({
/*
* ## Retrieve access token
* Make a POST (`Content-Type: application/x-www-form-urlencoded`) request to the Token URL below. Include one POST key/value entry: `grant_type=client_credentials` and include your clientID / secretKey credentials in a Basic Auth header. E.g. `Authorization: Basic base64_encode($clientId + ':' + $secretKey)`.
* ## Add Bearer access token to all API requests
* Once you have the access token, you can pass that along on all API requests in the authentication header: `'Authorization: Bearer $accessToken`.
* Note: Tokens expire after 3 hours. Please make sure you refresh your token before that time.
*/
clientId: "CLIENT_ID",
clientSecret: "CLIENT_SECRET"
})

Then, send your first request

We made it really easy.

index.ts

// Delete Link
const deleteLinkResponse = wink.supplierLinks.deleteLink({
companyIdentifier: "owner-1"
supplierUrlIdentifier: "seller-url-1"
})

Enjoy a buttery smooth developer experience with 130 SDK methods

How Konfig Works

Konfig collects APIs and automatically generates SDKs so you can focus on building your application.

openapi-examples

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.

openapi-examples-to-konfig

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.

konfig-to-package-managers

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.

Wink

About Wink

Wink helps hotels improve their products and sell them through innovative new sales channels that lets travelers book much more than just the room. We manage the content, distribution, engagement, conversion and payment. We let hotels and affiliates focus on sales while we do the rest.

Keywords

travel_expenses
hotel
content_management
engagement
travel_agent_portal

Start integrating Wink's API with Konfig