Outdoorsy Message Templates API

The messageTemplates API from Outdoorsy — 2 operation(s) for messagetemplates.

Operations 5

GET /message-templates #
POST /message-templates Creates a new message template #
GET /message-templates/{id} Get message template by id #
DELETE /message-templates/{id} Archive a message template #
PATCH /message-templates/{id} Update message template by id #

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/outdoorsy-messagetemplates-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

outdoorsy-messagetemplates-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Outdoorsy Message Templates API
  version: 0.0.1
  description: 'Operations tagged messageTemplates across 2 of this provider''s published API definitions: outdoorsy-messagetemplates-api-openapi.yml, outdoorsy-openapi-original.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /v0
security:
- Bearer:
  - '[]'
- API-Key:
  - '[]'
tags:
- name: messageTemplates
paths:
  /message-templates:
    get:
      description: Lists message templates
      tags:
      - messageTemplates
      operationId: listMessageTemplates
      parameters:
      - x-go-name: Offset
        name: offset
        in: query
        schema:
          type: integer
          format: int64
      - x-go-name: Limit
        name: limit
        in: query
        schema:
          type: integer
          format: int64
      - x-go-name: OrderBy
        name: order_by
        in: query
        schema:
          type: string
      - x-go-name: UserID
        name: user_id
        in: query
        schema:
          type: integer
          format: int64
      - name: LocationIDs
        in: query
        schema:
          type: array
          items:
            type: integer
            format: int64
      responses:
        '200':
          $ref: '#/components/responses/listMessageTemplatesResponse'
        '401':
          $ref: '#/components/responses/unauthorizedError'
        default:
          $ref: '#/components/responses/genericError'
    post:
      description: 'When an employee creates a template, it''s owned by their dealer.

        Employees with location restrictions must specify location_ids within their assigned locations.'
      tags:
      - messageTemplates
      summary: Creates a new message template
      operationId: createMessageTemplate
      responses:
        '200':
          $ref: '#/components/responses/messageTemplateResponse'
        '400':
          $ref: '#/components/responses/invalidFieldsError'
        '401':
          $ref: '#/components/responses/unauthorizedError'
        '403':
          $ref: '#/components/responses/forbiddenError'
        default:
          $ref: '#/components/responses/genericError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Template'
    servers:
    - url: /v0
  /message-templates/{id}:
    get:
      description: Users can only access templates they own (or their dealer's templates if they're an employee).
      tags:
      - messageTemplates
      summary: Get message template by id
      operationId: getMessageTemplateById
      parameters:
      - x-go-name: ID
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          $ref: '#/components/responses/messageTemplateResponse'
        '401':
          $ref: '#/components/responses/unauthorizedError'
        '404':
          $ref: '#/components/responses/notFoundError'
        default:
          $ref: '#/components/responses/genericError'
    delete:
      description: Users can only delete templates they own (or their dealer's templates if they're an employee).
      tags:
      - messageTemplates
      summary: Archive a message template
      operationId: archiveMessageTemplate
      parameters:
      - x-go-name: ID
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '204':
          $ref: '#/components/responses/noContentResponse'
        '401':
          $ref: '#/components/responses/unauthorizedError'
        '403':
          $ref: '#/components/responses/forbiddenError'
        '404':
          $ref: '#/components/responses/notFoundError'
    patch:
      description: Employees with location restrictions can only update templates with location_ids within their assigned locations.
      tags:
      - messageTemplates
      summary: Update message template by id
      operationId: updateMessageTemplate
      parameters:
      - x-go-name: ID
        name: id
        in: path
        required: true
        schema:
          type: integer
          format: int64
      responses:
        '200':
          $ref: '#/components/responses/messageTemplateResponse'
        '400':
          $ref: '#/components/responses/invalidFieldsError'
        '401':
          $ref: '#/components/responses/unauthorizedError'
        '403':
          $ref: '#/components/responses/forbiddenError'
        '404':
          $ref: '#/components/responses/notFoundError'
        default:
          $ref: '#/components/responses/genericError'
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Template'
    servers:
    - url: /v0
components:
  responses:
    messageTemplateResponse:
      description: HTTP status code 200 and conversation model
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/Template'
    listMessageTemplatesResponse:
      description: HTTP status code 200 and array of conversation models
      content:
        application/json:
          schema:
            type: array
            items:
              $ref: '#/components/schemas/Template'
    genericError:
      description: An unknown, unexpected error.
    unauthorizedError:
      description: Unauthorized error
    forbiddenError:
      description: Forbidden error
    noContentResponse:
      description: Everything went as planned
    notFoundError:
      description: Not found error
  schemas:
    Int64Array:
      type: array
      title: Int64Array represents a one-dimensional array of the PostgreSQL integer types.
      items:
        type: integer
        format: int64
      x-go-package: github.com/lib/pq
    Template:
      type: object
      properties:
        can_delete:
          type: boolean
          x-go-name: CanDelete
        can_edit:
          type: boolean
          x-go-name: CanEdit
        content:
          type: string
          x-go-name: Content
        created:
          type: string
          x-go-name: Created
          x-go-type: github.com/outdoorsy/api/clocks.RfcTime
        deleted:
          type: boolean
          x-go-name: Deleted
        id:
          type: integer
          format: int64
          x-go-name: ID
        location_ids:
          $ref: '#/components/schemas/Int64Array'
        title:
          type: string
          x-go-name: Title
        updated:
          type: string
          x-go-name: Updated
          x-go-type: github.com/outdoorsy/api/clocks.RfcTime
        user_id:
          type: integer
          format: int64
          x-go-name: UserID
      x-go-package: github.com/outdoorsy/api/internal/message_template
  securitySchemes:
    API-Key:
      type: apiKey
      name: API-Key
      in: header
    Bearer:
      type: apiKey
      name: Authorization
      in: header
x-refined-from:
- outdoorsy-messagetemplates-api-openapi.yml
- outdoorsy-openapi-original.json