Travis CI Users API

The Users API from Travis CI — 4 operation(s) for users.

Operations 5

GET /user Get the current user
PATCH /user Update the current user
GET /user/{user_id} Get a user by id
POST /user/{user_id}/sync Trigger a user sync with GitHub
GET /logout Log out the current user

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/travis-ci-users-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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. See our Privacy Policy and Terms.

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

OpenAPI Specification

travis-ci-users-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Travis CI REST API v3 Builds Users API
  version: '3'
  description: 'Travis CI v3 REST API for builds, jobs, repositories, organizations, users,

    and logs. Endpoints and authentication derived from

    https://developer.travis-ci.com/.

    '
  contact:
    name: Travis CI
    url: https://developer.travis-ci.com/
servers:
- url: https://api.travis-ci.com
  description: Travis CI (private projects / .com)
- url: https://api.travis-ci.org
  description: Travis CI (open source / .org, legacy)
security:
- TravisToken: []
tags:
- name: Users
paths:
  /user:
    get:
      tags:
      - Users
      summary: Get the current user
      responses:
        '200':
          description: Current user
    patch:
      tags:
      - Users
      summary: Update the current user
      responses:
        '200':
          description: Updated
  /user/{user_id}:
    get:
      tags:
      - Users
      summary: Get a user by id
      parameters:
      - in: path
        name: user_id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: User
  /user/{user_id}/sync:
    post:
      tags:
      - Users
      summary: Trigger a user sync with GitHub
      parameters:
      - in: path
        name: user_id
        required: true
        schema:
          type: string
      responses:
        '202':
          description: Sync triggered
  /logout:
    get:
      tags:
      - Users
      summary: Log out the current user
      responses:
        '200':
          description: Logged out
components:
  securitySchemes:
    TravisToken:
      type: apiKey
      in: header
      name: Authorization
      description: 'Token-based authentication. Header format: `Authorization: token <TOKEN>`

        with `Travis-API-Version: 3`. Tokens for travis-ci.com, travis-ci.org,

        and Enterprise installations are not interchangeable.

        '