Search job presets by name
AI agents: read /llms.txt; add .md to any page URL. This page as Markdown: /reference/job-presets/v1-setting-job-preset-search.md. Index of every page and the rules for every call: /llms.txt. Guides and concepts in one file: /llms-full.txt. OpenAPI: /openapi.json.
POST/
Returns up to 10 job presets whose name contains name, sorted by position, in the same shape as the list. Send an empty name to get the first 10.
It is a read: it changes nothing, so it needs no settings permission even though it is a POST.
Path parameters
Your team slug, shown as Team ID next to your API key in Profile.
- Example
your-team
- Example
Request body
application/json, required.
Text to look for anywhere in the name. Must be present; may be empty.
Response
200Successful response.
- At most 10 items
Fields of each item (12)
The people on the job itself. Jobs made from the preset get the ones still on your team.
Fields of each item (4)
Their profile picture, or null.
True when the person was deleted or is no longer on your team. They stay listed until someone takes them off; jobs made from the preset leave them out.
False when a service, saved location, or task preset it uses was deleted, or a service option no longer exists.
Mockup images, in their order.
Fields of each item (19)
- One of:
"mockup","production_file"
- One of:
When the file record was made: the upload time, or for a duplicated preset, when it was copied.
The file's id: use it in
updateanddeletefile rows.The preset the file belongs to.
The ids of this preset's service lines the file belongs to. A job made from the preset links its copy to the matching new services.
The display name.
Where the file sorts, lowest first.
Preview image links
small,mediumandlarge(250, 800 and 1200 px), or null when there is no preview.Null when it was never set.
Bytes.
Always null on a preset's files.
Where to download the file.
A signed link to view the file. It expires: read it fresh, and don't store it.
dimensionsobject | nullPixel size of an image, read from its header; null for other files and for images uploaded before the size was recorded.
preview_statestringready: the preview links work.processing: an image over 10 MB whose stored preview a worker is still making (seconds); read the file again, or in the web app wait formedia.preview_state_changedon the team channel.too_large: an image over 120 megapixels; it never gets a preview.failed: the worker gave up.none: not an image.- One of:
"ready","processing","too_large","failed","none"
- One of:
True when the preset needs review (shown as "Needs review" in the web app):
is_validis false (a service, service option, saved location, or task preset was deleted)- A team member assigned to one of its tasks was deleted or left the team (assignees on the job itself do not trigger review)
A preset that needs review still saves. Creating a job from it omits missing tasks and removed teammates.
The tasks.
Fields of each item (11)
assigned_usersarray of objects- Same fields as
data[].assigned_users.
- Same fields as
idstringis_validbooleannamestring | nullnotestring | nullpipelineobject | nullThe task preset it follows, as
GET /v1/api/store/{team_slug}/setting/pipeline/{hash_id}returns it:id,label,color,version,enable,trashed, and itsstatuses(deleted ones included).Child fields (7)
colorstringenablebooleanidstringlabelstringstatusesarray of objectsFields of each item (9)
What customers see in the customer portal. When none is set:
Pendingforstart,In Progressforin_progressandpre_production,Completedforend.Sort order within the list, lowest first.
Which list the status belongs to:
order: sales ordersquote: quotesjob: jobspurchase_order: purchase ordersshipment: shipmentscustomer_message: message threadspipeline: tasks within a task preset
- One of:
"order","quote","job","purchase_order","shipment","customer_message","pipeline"
True for a deleted status. Only the full list includes deleted ones.
The stage of the status in the workflow:
start(first status in the list),pre_production,in_progress, orend(final status).- One of:
"start","pre_production","in_progress","end"
- One of:
pipeline_idstringThe task preset, for
pipelinestatuses only. Absent for every other role.
trashedbooleanversioninteger
pipeline_colorstring | nullThe task preset's color.
pipeline_idstringpipeline_namestring | nullThe task preset's name.
positioninteger0 when none was sent.
trashedbooleanTrue when its task preset was deleted.
Sort order within the preset list, lowest first. A decimal string, such as
"1.0000000000000000"; parse it as a decimal.Production files, in their order.
- Same fields as
data[].mockup.
- Same fields as
The service lines.
Fields of each item (11)
versioninteger- Always
1
- Always
customer_notestring | nullidstringlocationobjecttype,display_nameandtrashed(true when a saved location was deleted), plusidfor a saved location ornamefor a custom one.notestring | nulloptionstring | nullpositionintegerreview_reasonstring | nullWhy the line needs review: its service was deleted, the service no longer has this option, or its saved location was deleted. Null when the line is fine.
- One of:
"service_removed","option_removed","location_removed"
- One of:
service_idstringservice_namestring | nullvalidbooleanFalse when
review_reasonis set.
When the preset was last edited ("Last edited" in the web app). Every save changes it, even one that changes only its lines; reordering presets doesn't.
Errors
401The API key is missing or wrong (
unauthenticated).403You are not allowed to do this.
api_access_not_in_plan: your team's plan doesn't include API access (Pro and above, with an active subscription or trial), so every request answers this until the team upgrades. When your role lacks the permission the operation needs, the body is only{"message": "Insufficient Permission"}. Other refusals use the error envelope, withunauthorizedoruser_is_not_authorized.404Not found.
page_not_found: the team slug is unknown, you are not a member of the team, or an id in the path is not one of this team's.code: null, with a message that starts "No query results for": there is no record with that id.422The request was refused and changed nothing.
validation_failedlists what to fix inerror.fields; other codes name a business rule, explained inerror.message. A few checks answer with only{"message": "..."}. An operation that calls another service (a payment provider, a carrier, an accounting app) can answerconnect_timeout("Please retry again") when that service does not answer in time: the change may or may not have happened there, so read the record back before you retry.- When
nameis missing or not a string.- Fix
- Send
{"name": ""}to list the first 10.
Related
- GETList job presets
/v1/ api/ store/ {team_slug}/ setting/ job_preset - GETGet a job preset
/v1/ api/ store/ {team_slug}/ setting/ job_preset/ {hash_id}
