Outdoorsy Message Templates API
The Message Templates API from Outdoorsy — 2 operation(s) for message templates.
The Message Templates API from Outdoorsy — 2 operation(s) for message templates.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
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.curl "https://apis.io/api/v1/apis/outdoorsy-message-templates-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
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: 3.2.0
info:
description: 'The Outdoorsy API (or simply "API") is organized around REST. It uses
predictable, resource-oriented URLs and implements standard HTTP response
codes, verbs, authentication mechanisms, and a variety of request encodings.
## Versioning
The API implements semantic versioning.'
title: Outdoorsy API Documentation Message Templates API
version: 0.0.1
servers:
- url: /v0
security:
- Bearer:
- '[]'
- API-Key:
- '[]'
tags:
- name: Message Templates
paths:
/message-templates:
get:
description: Lists message templates
tags:
- Message Templates
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'
summary: List message templates
x-summary-source: derived
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:
- Message Templates
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'
/message-templates/{id}:
get:
description: Users can only access templates they own (or their dealer's templates if they're an employee).
tags:
- Message Templates
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:
- Message Templates
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:
- Message Templates
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'
components:
responses:
noContentResponse:
description: Everything went as planned
messageTemplateResponse:
description: HTTP status code 200 and conversation model
content:
application/json:
schema:
$ref: '#/components/schemas/Template'
notFoundError:
description: Not found error
genericError:
description: An unknown, unexpected error.
listMessageTemplatesResponse:
description: HTTP status code 200 and array of conversation models
content:
application/json:
schema:
type: array
items:
$ref: '#/components/schemas/Template'
unauthorizedError:
description: Unauthorized error
forbiddenError:
description: Forbidden 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