# Private add-on: reading custom-field definitions and safely updating selected job fields

**URL:** <https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223>\
**Category:** API & SDK\
**Created:** [October 6, 2026, 4:53am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223 "2026-10-06T04:53:35Z")\
**Posts on this page:** 15\
**Page:** 1

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 6, 2026, 4:53am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/1 "2026-10-06T04:53:35Z")

</div>

We’re developing a private Equipment Master add-on. After a user selects equipment, it previews seven existing job fields—Asset Number, Rego, VIN, Make, Model, Year and Engine Number—and applies only explicitly confirmed changes.

ServiceM8 Support suggested asking here:

1. Can a private add-on use `GET /custom_fields_1.0` through OAuth? The documentation mentions Public Applications. What minimum scope is required to read field definitions?

2. What is the supported request for updating selected custom job fields while preserving unrelated values? The Job POST schema lists `status` as required. Must we include the current status, and what happens to omitted fields?

3. Could resubmitting the current status trigger notifications, automations or other side effects?

An example of the supported request would be helpful.

We understand that `manage_jobs` grants broader access than individual fields or a single job. Our prototype has passed local simulated tests, but the add-on remains disabled and no live job writes have been made.

We want to confirm the supported approach before requesting broader permissions and testing on one designated job.

---

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 7, 2026, 2:11am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/2 "2026-10-07T02:11:58Z")

</div>

Hi ServiceM8 team, following up on this question after Support directed us here.

We’re keeping our private Equipment Master add-on disabled until we can confirm:

1. Whether a private OAuth add-on can read `GET /custom_fields_1.0`, and which scope is required.

2. The supported request for updating only selected custom job fields, including whether `status` is required and whether omitted fields remain unchanged.

Could a developer provide a minimal supported request example or point us to the relevant documentation?

We’re happy to leave unavailable equipment details blank. Our main concern is preserving unrelated job data and avoiding unintended side effects.

Thanks,  
Aaron

---

<div class="post-metadata">

**Author:** ![Cody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/cody/32/52_2.png) [@Cody](https://community.servicem8.com/u/Cody)\
**Post date:** [October 8, 2026, 8:27am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/3 "2026-10-08T08:27:42Z")

</div>

Hi Aaron,  
Your OAuth add-on can remain unlisted while using the Custom Fields API; the “Public Application” registration doesn’t require public availability.  
For definitions, use `GET https://api.servicem8.com/custom_fields_1.0`. Definitions include the backend `field_name` and user-facing `display_name`.  
For values, use `customfield_<field_name>` properties on the Job, rather than display names. The update endpoint is `POST https://api.servicem8.com/api_1.0/job/{uuid}.json`, requiring `manage_jobs`.  
The relevant guides are [Custom Fields](https://developer.servicem8.com/docs/custom-fields-overview) and [Update a Job](https://developer.servicem8.com/reference/updatejobs).  
We’ll confirm with the team the minimum definition-reading scope, application-specific definition visibility and cross-application value access, preservation of omitted fields and whether `status` can be omitted, unchanged-status side effects, and handling of unknown `customfield_` names.  
Thanks,  
Cody

---

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 12, 2026, 12:19am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/4 "2026-10-12T00:19:17Z")

</div>

Hi Cody,

Thanks for confirming that our add-on can remain unlisted and explaining the field mappings and update endpoint. We’ll use the Custom Fields and Update a Job guides to continue the local build.

Could you please follow up with your team on the outstanding questions:

- What minimum OAuth scope is needed to read custom-field definitions?
- Can our add-on read and update the existing job custom fields created by another integration?
- Will fields omitted from an update remain unchanged?
- Can we omit status when updating only custom fields? If it is required, could submitting the existing status trigger notifications, automations or other side effects?
- What happens if an unknown customfield\_ name is submitted?

Could you also provide a minimal example request that updates only the intended custom fields while preserving all other job information?

Our Equipment Master add-on is intended to preview equipment details from our fleet list and apply them only when the user selects “Apply to Job”. We’re continuing local development, with live writes disabled until these points are confirmed.

Thanks for your help,  
Aaron

---

<div class="post-metadata">

**Author:** ![Cody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/cody/32/52_2.png) [@Cody](https://community.servicem8.com/u/Cody)\
**Post date:** [October 15, 2026, 12:21am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/5 "2026-10-15T00:21:16Z")

</div>

Hi Aaron,  
For your local build, the permissions for Job access are `read_jobs` for read-only access and `manage_jobs` for full access, including updates. These are Job endpoint permissions, not a separate confirmation of the scope needed to read custom-field definitions.  
The [Update a Job reference](https://developer.servicem8.com/reference/updatejobs) lists `status` as required in its request schema for `POST /api_1.0/job/{uuid}.json`. That schema requirement shouldn’t be treated as an assurance that resubmitting the current status is side-effect-free.  
Here’s a definition-reading request you can use as the starting point for your local implementation. It uses an OAuth bearer token and doesn’t submit a Job update:

```bash
curl --request GET \
  --url 'https://api.servicem8.com/custom_fields_1.0' \
  --header 'Authorization: Bearer YOUR_ACCESS_TOKEN'

```

The response includes `field_name`, `display_name`, `field_type` and `max_length`. Custom-field values use `customfield_<field_name>` properties through the REST API. Use the actual backend names rather than assuming names from the seven equipment labels.  
We’ll confirm with the team the minimum definition-reading scope, visibility and read/write access for fields created by another integration, preservation of omitted fields, whether `status` can be omitted, unchanged-status notification and automation side effects, handling of unknown `customfield_` names, and a minimal update request that preserves unrelated Job information.  
Thanks,  
Cody

---

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 15, 2026, 10:03am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/6 "2026-10-15T10:03:29Z")

</div>

Hi Cody,

Thanks for your help. We haven’t read the custom-field definitions yet because we don’t have a usable OAuth token. Our installed Add-on Kit requests manage\_addons even when read\_jobs is added.

Could you confirm the exact scope required for GET [https://api.servicem8.com/custom\_fields\_1.0](https://api.servicem8.com/custom_fields_1.0) and the supported way to authorise that read? Alternatively, could you provide—or arrange—an export of our Job custom-field labels, internal names and data types, especially Year?

Is there also an update on whether updating only the equipment fields preserves all unrelated Job fields, and whether submitting an unchanged status can trigger notifications or automations?

Apply to Job remains disabled, and we haven’t changed any live jobs.

---

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 15, 2026, 10:18am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/7 "2026-10-15T10:18:27Z")

</div>

Hi Cody,

Thanks for your help. We haven’t read the custom-field definitions yet because we don’t have a usable OAuth token. Our installed Add-on Kit requests `manage_addons` even when `read_jobs` is added.

Could you confirm the exact scope required for `GET https://api.servicem8.com/custom_fields_1.0` and the supported way to authorise that read? Alternatively, could you provide—or arrange—an export of our Job custom-field labels, internal names and data types, especially Year?

Is there also an update on whether updating only the equipment fields preserves all unrelated Job fields, and whether submitting an unchanged `status` can trigger notifications or automations?

Apply to Job remains disabled, and we haven’t changed any live jobs.

Thanks,  
Aaron

---

<div class="post-metadata">

**Author:** ![Cody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/cody/32/52_2.png) [@Cody](https://community.servicem8.com/u/Cody)\
**Post date:** [October 16, 2026, 5:21am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/8 "2026-10-16T05:21:11Z")

</div>

Hi Aaron, thanks for your patience. Here are confirmed answers:

**Token / scope:** The Add-on Kit only grants the manifest scopes that the _deploying credential_ already holds; any others are dropped. Deploy using a full-access account API key and `read_jobs` / `manage_jobs` will carry through to the add-on’s token.

**Custom field definitions:** `GET /custom_fields_1.0` accepts any valid token. However, it only lists fields created by _your own app_. Fields created in Settings \> Custom Fields or by another integration won’t appear. To find the internal names of your existing fields, fetch any job with `GET /api_1.0/job/{uuid}.json` and look at the `customfield_*` properties.

**Updating selected fields:** Send only the fields you want to change:

```auto
POST https://api.servicem8.com/api_1.0/job/{uuid}.json
Authorization: Bearer YOUR_ACCESS_TOKEN
Content-Type: application/json

{"customfield_<field_name_1>": "new value", "customfield_<field_name_2>": "new value"}

```

- Omitted fields are left unchanged.
- `status` isn’t required for updates, so leave it out.
- Resending an identical status is a no-op, but leaving it out removes any risk.
- Unknown `customfield_` names are ignored without an error (the request still returns 200), so check your names against a job GET before going live.

Cheers,  
Cody

---

<div class="post-metadata">

**Author:** ![Cody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/cody/32/52_2.png) [@Cody](https://community.servicem8.com/u/Cody)\
**Post date:** [October 18, 2026, 10:05am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/9 "2026-10-18T10:05:54Z")

</div>

Hi Aaron,  
Addon Kit always requests `manage_addons`; adding `read_jobs` supplements that scope rather than replacing it. For Job read access, include `read_jobs` in both your manifest’s `oauth.scope` and the CLI login request.

```bash
npx addon-kit login --scopes "read_jobs"
npx addon-kit whoami

```

`whoami` shows the authenticated account and granted scopes. You can check your installed version and its login options with `npx addon-kit --version` and `npx addon-kit login --help`. These commands don’t deploy or activate your add-on.  
For the Custom Fields API, the supported authentication route is a Public Application using OAuth 2.0, which can remain unlisted. With your application’s App ID and App Secret, authorisation starts at `https://go.servicem8.com/oauth/authorize`, followed by exchanging the returned code at `https://go.servicem8.com/oauth/access_token`; API requests then use `Authorization: Bearer YOUR_ACCESS_TOKEN`.  
The definition response includes `display_name`, `field_name` and `field_type`, which are the properties needed for your labels, internal names and data types. Use the returned `field_type` to identify how your existing Year field is configured.  
We can’t access your account or produce an account-specific export from this forum. Please email [support@servicem8.com](mailto:support@servicem8.com) about the export request and token problem, including your Addon Kit version, redacted login command and any error text, without API keys, tokens or secrets.  
We’ll confirm with the team the exact minimum definition-reading scope and its use with Addon Kit credentials, cross-integration field access, preservation of omitted Job fields, whether `status` can be omitted, unchanged-status notification and automation effects, unknown `customfield_` handling, and a minimal update request that preserves unrelated Job information.  
Thanks,  
Cody

---

<div class="post-metadata">

**Author:** ![Cody](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/cody/32/52_2.png) [@Cody](https://community.servicem8.com/u/Cody)\
**Post date:** [October 18, 2026, 10:20am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/10 "2026-10-18T10:20:51Z")

</div>

Hi Aaron,  
Addon Kit always requests `manage_addons`. Adding `read_jobs` requests it **in addition to** , rather than instead of, `manage_addons`. To request Job read access and inspect the granted scopes, use:

```bash
npx addon-kit login --scopes "read_jobs"
npx addon-kit whoami

```

If your function needs Job read access, also include `read_jobs` in your manifest’s `oauth.scope`. This is a Job-access permission, not a separate custom-field-definition permission.  
For the Custom Fields API, the supported authentication route is a Public Application using OAuth 2.0, and that application can remain unlisted. The [Authentication guide](https://developer.servicem8.com/docs/authentication) covers registering the application, obtaining its App ID and App Secret, authorising access and exchanging the returned code for a bearer token.  
The [definition response](https://developer.servicem8.com/reference/get_custom_fields) includes `display_name`, `field_name` and `field_type`. The returned `field_type` is the property to check for your existing Year field.  
We can’t access your account or supply its field export from this forum. Please email [support@servicem8.com](mailto:support@servicem8.com) with the export request and details of the authorisation problem, including your Addon Kit version, redacted login command and any error text, without API keys, tokens or secrets.  
We’ll confirm with the team the exact minimum definition-reading scope and suitability of Addon Kit credentials, access to another integration’s fields, preservation of omitted Job fields, whether `status` can be omitted, unchanged-status notification and automation effects, handling of unknown `customfield_` names, and a minimal update request that preserves unrelated Job information.  
Thanks,  
Cody

---

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 18, 2026, 10:53am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/11 "2026-10-18T10:53:41Z")

</div>

Thanks for the info and update Cody.

I have forwarded an email to Support for further information.

---

<div class="post-metadata">

**Author:** ![michael\_knight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/michael_knight/32/140_2.png) [@michael\_knight](https://community.servicem8.com/u/michael_knight)\
**Post date:** [October 19, 2026, 4:25am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/12 "2026-10-19T04:25:21Z")

</div>

short answer no scope needed to create custom fields, you would need the **read\_jobs** as custom field is stored in job endpoint and **read\_customers** to read the client custom fields

What you are wanting to build is asset management which is a core servicem8 addon,

> **[Asset Management | ServiceM8](https://www.servicem8.com/au/features-asset-management)**
>
> ServiceM8's Asset Management for field service businesses lets you create new assets for clients, save their location & track their service history.

Alternative instead of using custom fields you could use key value storage

---

<div class="post-metadata">

**Author:** ![sudhir\_kesharwani](https://avatars.discourse-cdn.com/v4/letter/s/f6c823/32.png) [@sudhir\_kesharwani](https://community.servicem8.com/u/sudhir_kesharwani)\
**Post date:** [October 19, 2026, 7:23am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/13 "2026-10-19T07:23:34Z")

</div>

I think Asset management add-on should give you enough functionality and you do not need custom fields. More custom fields will only allow you to add one additional piece of information with Client / Job entity. Where in this case you may have 1 to Many relation (one job multiple assets, similarly client \> multiple assets)

So you can use Asset Add-On, infact you can also think of using Materials

---

<div class="post-metadata">

**Author:** ![aaron\_evans](https://avatars.discourse-cdn.com/v4/letter/a/6de8d8/32.png) [@aaron\_evans](https://community.servicem8.com/u/aaron_evans)\
**Post date:** [October 19, 2026, 1:04pm UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/14 "2026-10-19T13:04:14Z")

</div>

Hi Michael

Please see screen shot below, these custom fields are what I am trying to populate automatically through selecting the item of plant in the drop-down box “Xero Plant & Equipment”.

Each item of plant has a custom “On-hire or Off-hire” sheet attached to it, to save time we would like to have these sheets pre-populate so the mechanics don’t have to waste time completing this constantly.

Any assistance on this would be greatly helpful.

(We have Asset Management add-on however this does not particularly efficient in this case)

 ![](https://us1.discourse-cdn.com/flex002/uploads/servicem8/original/1X/e1ad580913e487fced158db8f1ade120a86d9229.png)

 ![](https://us1.discourse-cdn.com/flex002/uploads/servicem8/original/1X/f50b4c863a53020e845414072280785cc8f4c6da.png)

---

<div class="post-metadata">

**Author:** ![michael\_knight](https://sea2.discourse-cdn.com/flex002/user_avatar/community.servicem8.com/michael_knight/32/140_2.png) [@michael\_knight](https://community.servicem8.com/u/michael_knight)\
**Post date:** [October 21, 2026, 12:10am UTC](https://community.servicem8.com/t/private-add-on-reading-custom-field-definitions-and-safely-updating-selected-job-fields/1223/15 "2026-10-21T00:10:27Z")

</div>

This is exactly what the asset module does, scan the qr code, open a form and all the details of the asset populate the form

While it is traditionally designed for customer assets, if you are managing your own assets you just use your own company as the customer and assign all the assets to that customer  
We have quite a few clients that use assets for this exact workflow, allowing them to do daily prestart for machinery and the form is prefilled with all static asset data like serial/vin make, model, fuel type, engine size etc all the user needs to do is answer questions like current hours , safety checks etc.
