GitLab · Schema

UserInfo

UserInfo from GitLab API

CodePlatformSoftware DevelopmentSource Control

Properties

Name Type Description
sub string Subject identifier. Unique to the user within the provider.
name string Full name of the user.
nickname string The user's GitLab username.
email string The user's email address. Requires the email scope.
email_verified boolean Whether the user's email address has been verified.
profile string URL to the user's GitLab profile page.
picture string URL to the user's avatar image.
groups array List of groups the user belongs to.
View JSON Schema on GitHub

JSON Schema

gitlab-oauth2-user-info-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/gitlab/refs/heads/main/json-schema/gitlab-oauth2-user-info-schema.json",
  "title": "UserInfo",
  "description": "UserInfo from GitLab API",
  "type": "object",
  "properties": {
    "sub": {
      "type": "string",
      "description": "Subject identifier. Unique to the user within the provider.",
      "example": "example_value"
    },
    "name": {
      "type": "string",
      "description": "Full name of the user.",
      "example": "Example Project"
    },
    "nickname": {
      "type": "string",
      "description": "The user's GitLab username.",
      "example": "Example Project"
    },
    "email": {
      "type": "string",
      "format": "email",
      "description": "The user's email address. Requires the email scope.",
      "example": "user@example.com"
    },
    "email_verified": {
      "type": "boolean",
      "description": "Whether the user's email address has been verified.",
      "example": true
    },
    "profile": {
      "type": "string",
      "format": "uri",
      "description": "URL to the user's GitLab profile page.",
      "example": "example_value"
    },
    "picture": {
      "type": "string",
      "format": "uri",
      "description": "URL to the user's avatar image.",
      "example": "example_value"
    },
    "groups": {
      "type": "array",
      "description": "List of groups the user belongs to.",
      "items": {
        "type": "string"
      }
    }
  }
}

Work with this as data

Every JSON Schema 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 schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • 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 JSON Schema
curl "https://apis.io/api/v1/json-schemas/gitlab-oauth2-user-info"
All schemas
curl "https://apis.io/api/v1/json-schemas?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.