Tip4Serv Partner Connect API

Server-to-server OAuth onboarding for partner integrations. Use the Partner API key as a Bearer token. Supported permission identifiers are `create-servers`, `create-products`, `webhooks.receive`, `read-store`, `read-servers`, `read-products`, and `update-products`. A permission must be enabled for the integration and approved by the seller.

GitHub OpenAPI

Operations 2

POST /partner-connect/oauth/token Exchange a seller authorization code #

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/tip4serv-com:tip4serv-com-partner-connect-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

tip4serv-com-partner-connect-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Tip4Serv Partner Connect API
  description: Tip4Serv API
  termsOfService: https://tip4serv.com/terms-of-use
  contact:
    email: duster@tip4serv.com
  license:
    name: Apache 2.0
    url: https://www.apache.org/licenses/LICENSE-2.0.html
  version: 1.0.12
servers:
- url: https://api.tip4serv.com/v1
security:
- bearerAuth: []
tags:
- name: Partner Connect
  description: Server-to-server OAuth onboarding for partner integrations. Use the Partner API key as a Bearer token. Supported permission identifiers are `create-servers`, `create-products`, `webhooks.receive`, `read-store`, `read-servers`, `read-products`, and `update-products`. A permission must be enabled for the integration and approved by the seller.
paths:
  /partner-connect/authorization-links:
    post:
      tags:
      - Partner Connect
      summary: Generate a seller authorization link
      description: 'Starts the Partner Connect OAuth flow. Call this endpoint from your backend using your Partner API key. The `return_url` must be a valid HTTPS callback URL. `integration_key` identifies the Partner Connect integration configured for this partner. `state` is required: generate an unpredictable value, store it temporarily, and verify it when the seller returns and when exchanging the authorization code. Redirect the seller to the returned `authorization_url`. The authorization request expires after 15 minutes.


        **Authorization:** Bearer YOUR_PARTNER_API_KEY'
      operationId: createPartnerAuthorizationLink
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerAuthorizationLinkRequest'
            example:
              return_url: https://your-domain.com/partner/oauth/callback
              integration_key: partner-49560-3d4f617f75a59740
              state: GENERATED_RANDOM_STATE
      responses:
        '200':
          description: Authorization link created. Redirect the seller to `authorization_url`.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerAuthorizationLinkResponse'
              example:
                ok: true
                authorization_url: https://tip4serv.com/oauth?auth_id=partner_abc123
                integration:
                  key: partner-49560-3d4f617f75a59740
                  name: Your application
                  logo_url: https://example.com/logo.png
                expires_at: '2026-09-25T12:00:00Z'
        '400':
          description: Invalid request; for example, `return_url` is missing or is not HTTPS, or `integration_key` is missing.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '401':
          description: Partner API key is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '404':
          description: No active integration matching this `integration_key` exists for the partner.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '500':
          description: Unable to store the temporary OAuth authorization session.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
  /partner-connect/oauth/token:
    post:
      tags:
      - Partner Connect
      summary: Exchange a seller authorization code
      description: 'Exchange the one-time `code` received at your HTTPS callback for the seller authorization details. Call this endpoint only from your backend with the same Partner API key used to create the authorization link. The `state` is required and must exactly match the state supplied when the link was created. Authorization codes expire after 5 minutes, can only be used once, and must not be logged or stored permanently. Save the returned `store_id` and `integration_key`; include both as query parameters on subsequent Partner Connect-enabled API operations. The returned `permissions` are the scopes approved by the seller.


        **Authorization:**

        - Requires a valid Partner API key as a Bearer token.'
      operationId: exchangePartnerAuthorizationCode
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PartnerOAuthTokenRequest'
            example:
              code: oauth_code_xxx
              state: GENERATED_RANDOM_STATE
      responses:
        '200':
          description: Authorization code exchanged; the response identifies the connected seller store and the permissions granted.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerOAuthTokenResponse'
              example:
                ok: true
                store_id: 7541
                title: My Minecraft Store
                domain: minestore
                custom_domain: www.minestore.com
                integration_key: partner-49560-3d4f617f75a59740
                permissions:
                - create-servers
                - create-products
                - webhooks.receive
                - read-store
                - read-servers
                - read-products
                - update-products
        '400':
          description: Invalid request, state mismatch, or a requested permission is no longer available.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '401':
          description: Partner API key is missing, invalid, or revoked.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '403':
          description: The integration is invalid or inactive for this partner.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '404':
          description: The seller store referenced by the authorization could not be found.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '410':
          description: The authorization code is invalid, expired, already used, or does not belong to this partner.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
        '500':
          description: Internal server or Partner Connect storage error.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PartnerConnectError'
components:
  schemas:
    PartnerAuthorizationLinkRequest:
      type: object
      properties:
        return_url:
          type: string
          format: uri
          description: HTTPS callback URL that receives the one-time authorization code and state. Userinfo and URL fragments are not allowed.
          example: https://your-domain.com/partner/oauth/callback
        integration_key:
          type: string
          description: Key of an active Partner Connect integration belonging to the authenticated partner.
          example: partner-49560-3d4f617f75a59740
        state:
          type: string
          description: Required anti-CSRF value. Generate an unpredictable value, store it temporarily, and verify it on callback and token exchange.
          example: GENERATED_RANDOM_STATE
      required:
      - return_url
      - integration_key
      - state
    PartnerAuthorizationLinkResponse:
      type: object
      properties:
        ok:
          type: boolean
          example: true
        authorization_url:
          type: string
          format: uri
          description: Tip4Serv seller authorization page. Redirect the seller to this URL.
          example: https://tip4serv.com/oauth?auth_id=partner_abc123
        integration:
          type: object
          properties:
            key:
              type: string
              example: partner-49560-3d4f617f75a59740
            name:
              type: string
              example: Your application
            logo_url:
              type:
              - string
              - 'null'
              example: https://example.com/logo.png
        expires_at:
          type: string
          format: date-time
          description: UTC expiration time of the authorization request (15 minutes after creation).
          example: '2026-09-25T12:00:00Z'
      required:
      - ok
      - authorization_url
      - integration
      - expires_at
    PartnerOAuthTokenRequest:
      type: object
      properties:
        code:
          type: string
          description: One-time authorization code received on the callback URL. Expires after 5 minutes.
          example: oauth_code_xxx
        state:
          type: string
          description: Required exact state value submitted when creating the authorization link.
          example: GENERATED_RANDOM_STATE
      required:
      - code
      - state
    PartnerOAuthTokenResponse:
      type: object
      properties:
        ok:
          type: boolean
          example: true
        store_id:
          type: integer
          description: ID of the seller store authorized by the seller. Use as a query parameter for subsequent Partner Connect-enabled API calls.
          example: 7541
        title:
          type: string
          example: My Minecraft Store
        domain:
          type: string
          example: minestore
        custom_domain:
          type: string
          description: Present only when the store has a custom domain.
          example: www.minestore.com
        integration_key:
          type: string
          description: Integration key to use with `store_id` on subsequent Partner Connect-enabled API calls.
          example: partner-49560-3d4f617f75a59740
        permissions:
          type: array
          description: Permissions approved by the seller for this integration.
          items:
            type: string
            enum:
            - create-servers
            - create-products
            - webhooks.receive
            - read-store
            - read-servers
            - read-products
            - update-products
          example:
          - read-products
          - read-servers
      required:
      - ok
      - store_id
      - title
      - domain
      - integration_key
      - permissions
    PartnerConnectError:
      type: object
      properties:
        ok:
          type: boolean
          example: false
        error:
          type: string
          example: invalid_request
        message:
          type: string
          example: state is required.
      required:
      - ok
      - error
      - message
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT or Partner API key
      description: Use a Tip4Serv JWT for standard store access, or a Partner API key as a Bearer token for Partner Connect. Partner Connect operations also require the `store_id` and `integration_key` query parameters and the relevant seller-approved permission.