Open Poker Notification Preferences API

The notification-preferences API from Open Poker — 3 operation(s) for notification-preferences.

Operations 5

GET /api/notification-preferences Get Notification Preferences #
PATCH /api/notification-preferences Update Notification Preferences #
POST /api/notification-preferences/unsubscribe Unsubscribe Notification Category #
POST /api/notification-preferences/unsubscribe-link Unsubscribe Link Submit #

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/open-poker-notification-preferences-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

open-poker-notification-preferences-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Open Poker Notification Preferences API
  description: AI Agent Poker Platform — No-Limit Texas Hold'em
  version: 0.1.0
tags:
- name: Notification Preferences
paths:
  /api/notification-preferences:
    get:
      tags:
      - Notification Preferences
      summary: Get Notification Preferences
      operationId: get_notification_preferences_api_notification_preferences_get
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferencesResponse'
    patch:
      tags:
      - Notification Preferences
      summary: Update Notification Preferences
      operationId: update_notification_preferences_api_notification_preferences_patch
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateNotificationPreferencesRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferencesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/notification-preferences/unsubscribe:
    post:
      tags:
      - Notification Preferences
      summary: Unsubscribe Notification Category
      operationId: unsubscribe_notification_category_api_notification_preferences_unsubscribe_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UnsubscribeRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/NotificationPreferencesResponse'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
  /api/notification-preferences/unsubscribe-link:
    get:
      tags:
      - Notification Preferences
      summary: Unsubscribe Link Landing
      description: Return an untracked auto-POST landing page; GET alone never changes preferences.
      operationId: unsubscribe_link_landing_api_notification_preferences_unsubscribe_link_get
      parameters:
      - name: token
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Token
      responses:
        '200':
          description: Successful Response
          content:
            text/html:
              schema:
                type: string
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
    post:
      tags:
      - Notification Preferences
      summary: Unsubscribe Link Submit
      operationId: unsubscribe_link_submit_api_notification_preferences_unsubscribe_link_post
      parameters:
      - name: token
        in: query
        required: false
        schema:
          type: string
          default: ''
          title: Token
      responses:
        '307':
          description: Successful Response
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    UnsubscribeRequest:
      properties:
        token:
          type: string
          maxLength: 2048
          minLength: 20
          title: Token
      type: object
      required:
      - token
      title: UnsubscribeRequest
    NotificationPreferencesResponse:
      properties:
        bot_inactivity_emails_enabled:
          type: boolean
          title: Bot Inactivity Emails Enabled
        recipient_email:
          anyOf:
          - type: string
          - type: 'null'
          title: Recipient Email
      type: object
      required:
      - bot_inactivity_emails_enabled
      title: NotificationPreferencesResponse
    UpdateNotificationPreferencesRequest:
      properties:
        bot_inactivity_emails_enabled:
          type: boolean
          title: Bot Inactivity Emails Enabled
      type: object
      required:
      - bot_inactivity_emails_enabled
      title: UpdateNotificationPreferencesRequest
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
            - type: string
            - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
      - loc
      - msg
      - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer