Dad Jokes (icanhazdadjoke) Integrations API

Slack and Discord integration endpoints

Operations 1

GET /slack Fetch a random joke formatted for Slack #

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/dad-jokes-integrations-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

dad-jokes-integrations-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: icanhazdadjoke Integrations API
  description: Free REST API providing access to the internet's largest selection of dad jokes. Supports random joke retrieval, joke lookup by ID, keyword search, Slack slash command integration, and Discord bot support. No authentication required.
  version: 1.0.0
  contact:
    url: https://icanhazdadjoke.com/api
  license:
    name: Free to use
servers:
- url: https://icanhazdadjoke.com
  description: Production server
tags:
- name: Integrations
  description: Slack and Discord integration endpoints
paths:
  /slack:
    get:
      operationId: getRandomJokeForSlack
      summary: Fetch a random joke formatted for Slack
      description: Returns a random dad joke formatted as a Slack message payload, suitable for use as a Slack slash command response.
      tags:
      - Integrations
      responses:
        '200':
          description: Slack-formatted joke response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/SlackResponse'
              example:
                attachments:
                - fallback: My dog used to chase people on a bike a lot. It got so bad I had to take his bike away.
                  footer: icanhazdadjoke.com | <https://icanhazdadjoke.com/j/R7UfaahVfFd>
                  text: My dog used to chase people on a bike a lot. It got so bad I had to take his bike away.
                response_type: in_channel
                username: icanhazdadjoke
components:
  schemas:
    SlackAttachment:
      type: object
      properties:
        fallback:
          type: string
          description: Plain text fallback for the attachment
        footer:
          type: string
          description: Footer text with attribution
        text:
          type: string
          description: The joke text
    SlackResponse:
      type: object
      properties:
        attachments:
          type: array
          description: Slack message attachments
          items:
            $ref: '#/components/schemas/SlackAttachment'
        response_type:
          type: string
          description: Slack response type
          example: in_channel
        username:
          type: string
          description: Bot username displayed in Slack
          example: icanhazdadjoke