Smarfle Jobs API
The Jobs API from Smarfle — 2 operation(s) for jobs.
The Jobs API from Smarfle — 2 operation(s) for jobs.
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/smarfle-com:smarfle-com-jobs-api"
curl "https://apis.io/api/v1/apis?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a 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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. 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:
title: Smarfle Jobs API
version: 1.0.0
description: 'Read and write your Smarfle customers, jobs, invoices and services, and subscribe to webhooks. Create an API key in Smarfle: Company Settings, Integrations, API. Every key belongs to one business and only ever sees that business''s data. Reads are free; each successful write (POST, PATCH, DELETE) is billed at $0.003 from your Smarfle wallet. Webhooks are free and instant.'
contact:
name: Smarfle support
url: https://www.smarfle.com/contact
email: founder@smarfle.com
termsOfService: https://www.smarfle.com/terms
servers:
- url: https://www.smarfle.com/api/v1
security:
- bearerAuth: []
tags:
- name: Jobs
paths:
/jobs:
get:
tags:
- Jobs
operationId: listJobs
summary: List jobs, newest first
parameters:
- $ref: '#/components/parameters/limit'
- $ref: '#/components/parameters/cursor'
- $ref: '#/components/parameters/created_since'
- $ref: '#/components/parameters/updated_since'
- name: status
in: query
required: false
description: Job status.
schema:
type: string
enum:
- requested
- scheduled
- in_progress
- completed
- invoiced
- canceled
- name: customer_id
in: query
required: false
description: Jobs of one customer.
schema:
type: string
format: uuid
- name: scheduled_from
in: query
required: false
description: Scheduled on or after (YYYY-MM-DD).
schema:
type: string
format: date
- name: scheduled_to
in: query
required: false
description: Scheduled on or before (YYYY-MM-DD).
schema:
type: string
format: date
responses:
'200':
description: OK
content:
application/json:
schema:
type: object
required:
- object
- data
- has_more
- next_cursor
properties:
object:
const: list
data:
type: array
items:
$ref: '#/components/schemas/Job'
has_more:
type: boolean
next_cursor:
type:
- string
- 'null'
'400':
$ref: '#/components/responses/InvalidRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PlanRequired'
'429':
$ref: '#/components/responses/RateLimited'
post:
tags:
- Jobs
operationId: createJobRequest
summary: Add a job request (write key)
description: Creates a job with status requested, like an online booking. The office confirms and schedules it in Smarfle; the API never sends the customer a message.
requestBody:
required: true
content:
application/json:
schema:
$ref: '#/components/schemas/JobRequest'
responses:
'201':
description: Created
content:
application/json:
schema:
$ref: '#/components/schemas/Job'
'400':
$ref: '#/components/responses/InvalidRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PlanRequired'
'429':
$ref: '#/components/responses/RateLimited'
/jobs/{id}:
get:
tags:
- Jobs
operationId: getJob
summary: Get a job
parameters:
- name: id
in: path
required: true
description: The job id.
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/Job'
'400':
$ref: '#/components/responses/InvalidRequest'
'401':
$ref: '#/components/responses/Unauthorized'
'402':
$ref: '#/components/responses/PlanRequired'
'404':
$ref: '#/components/responses/NotFound'
'429':
$ref: '#/components/responses/RateLimited'
components:
schemas:
Error:
type: object
required:
- error
properties:
error:
type: object
required:
- code
- message
properties:
code:
type: string
message:
type: string
existing_id:
type: string
JobRequest:
type: object
required:
- customer_id
- title
additionalProperties: false
properties:
customer_id:
type: string
format: uuid
title:
type: string
minLength: 1
maxLength: 200
description:
type: string
maxLength: 5000
service_id:
type: string
format: uuid
preferred_date:
type: string
format: date
preferred_time:
type: string
pattern: ^([01]\d|2[0-3]):[0-5]\d$
reference:
type: string
maxLength: 100
description: Your own id for this job.
address_street:
type: string
maxLength: 200
address_unit:
type: string
maxLength: 50
address_city:
type: string
maxLength: 100
address_state:
type: string
maxLength: 50
address_zip:
type: string
maxLength: 20
Job:
type: object
properties:
id:
type: string
format: uuid
object:
const: job
title:
type:
- string
- 'null'
description:
type:
- string
- 'null'
status:
type: string
priority:
type:
- string
- 'null'
job_type:
type:
- string
- 'null'
scheduled_date:
type:
- string
- 'null'
format: date
scheduled_time:
type:
- string
- 'null'
duration_minutes:
type:
- integer
- 'null'
customer_id:
type:
- string
- 'null'
service_id:
type:
- string
- 'null'
assigned_to_id:
type:
- string
- 'null'
agreed_price:
type:
- number
- 'null'
reference:
type:
- string
- 'null'
address:
type: object
properties:
street:
type:
- string
- 'null'
unit:
type:
- string
- 'null'
city:
type:
- string
- 'null'
state:
type:
- string
- 'null'
zip:
type:
- string
- 'null'
started_at:
type:
- string
- 'null'
format: date-time
completed_at:
type:
- string
- 'null'
format: date-time
created_at:
type: string
format: date-time
updated_at:
type:
- string
- 'null'
format: date-time
parameters:
cursor:
name: cursor
in: query
required: false
description: next_cursor from the previous page.
schema:
type: string
created_since:
name: created_since
in: query
required: false
description: Created at or after (ISO 8601).
schema:
type: string
format: date-time
updated_since:
name: updated_since
in: query
required: false
description: Changed at or after (ISO 8601).
schema:
type: string
format: date-time
limit:
name: limit
in: query
required: false
description: 1 to 100, default 25.
schema:
type: integer
minimum: 1
maximum: 100
default: 25
responses:
PlanRequired:
description: The trial or plan has ended, or the plan has no API.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
InvalidRequest:
description: The request is not valid.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
RateLimited:
description: More than 120 calls a minute for this key (or 600 for the business). Retry after a minute.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
NotFound:
description: No record with this id in this business.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
Unauthorized:
description: Missing, invalid or revoked API key.
content:
application/json:
schema:
$ref: '#/components/schemas/Error'
securitySchemes:
bearerAuth:
type: http
scheme: bearer
description: 'Authorization: Bearer smk_...'
externalDocs:
description: Guide
url: https://www.smarfle.com/docs/api