Discussions

Ask a Question

Is there a way to generate an api key in servicem8 without using add on or app?

I am trying an integration with servicem8 that will allow me to transfer data to airtable using basic auth username and password. but when I subscribe to the webhook endpoint. It gives me authorization required error .

Is there a way to generate an api key in servicem8 without using add on or app?

I am trying an integration with servicem8 that will allow me to transfer data to airtable using basic auth username and password. but when I subscribe to the webhook endpoint. It gives me authorization required error .

Error when create a Job by Make (Integromat)

Hi, i'm making an automation in Make (Integromat), the automation ends creating a job, and it works, but just sent me at the this error: type RuntimeError message [403] insufficient_scope. I need the Client UUID but i cant get it, i think is because this. ![](https://files.readme.io/f804592-image.png) <br /> I need the scopes. I want to make a update when i get a different trigger, but i can't advance it 'cause i can't get the job id.

Error when create a Job by Make (Integromat)

Hi, i'm making an automation in Make (Integromat), the automation ends creating a job, and it works, but just sent me at the this error: type RuntimeError message [403] insufficient_scope. I need the Client UUID but i cant get it, i think is because this. ![](https://files.readme.io/f804592-image.png) <br /> I need the scopes. I want to make a update when i get a different trigger, but i can't advance it 'cause i can't get the job id.

Options for Job Status

Hi SM8 Team, Will there be a future release that includes more options for job status? If any other SM8 users have advice for our situation, it would be greatly appreciated. Say we have a service inspection set to recur annually, which appears as a Work Order when it comes up. Since it is not a quote, unsuccessful, or completed, we cannot distinguish between jobs that are complete and ready to be invoiced and marked as completed, or those that are yet to be scheduled when we run a history search for all open work orders.

import photos on app stripping File meta data

Our client requires GPS info in the meta data of all photos we take. I've done some testing and it appears using the import photos action in the app may be stripping the meta data from the files? If I upload a photo manually it keeps the meta data when downloading but if I upload multiple photos via the import action option on the mobile app they appear to be missing when we download. Could you investigate please or confirm a workaround? Regards, Paul Scott Office Manager

Open External Link When click on custom button in job board

Hi Support, I am developing an SDK Add-on for my client. The requirement is to have a "Download Attachments" button for each job. When clicked, all attachments in the job notes should be downloaded to the local computer in a ZIP file. I have written the code in PHP that accepts a job UUID and downloads all the attachments for that job. The script works perfectly. I have successfully created the "Download Attachments" button using the manifest.json file. Problem: I am unable to trigger my PHP external URL when the button is clicked. My goal is for the button to open a new tab with a URL like "<https://www.domain.com/download_attachment.php?uuid=xxxxxxxxxxxx">. Note: I have already posted this query on the developer discussion portal. I received a response with the link <https://developer.servicem8.com/docs/your-first-add-on>, but it did not resolve my issue with hitting the external link. I would be very grateful for your assistance in resolving this matter.

Any recent changes to Webhook data?

My application has started throwing errors recently as it doesn't seem to be receiving the Job details any more. Have changes been made and if so where are these documented? My webhook subscription has: $object = "job"; $fields = 'uuid,status,active,job_description,job_address,date,billing_address,lng,lat,generated_job_id,queue_uuid,category_uuid,queue_expiry_date,queue_assigned_staff_uuid'; Latest response is: {"object":"Job","entry":\[{"uuid":"XXXXXXXXXX", "changed_fields":["status","work_order_date","edit_date"],"time":"2024-06-04 05:42:57"}], "resource_url":"https\:\/\/api.servicem8.com\/api_1.0\/Job\/XXXXXXXXXX.json"} I'm fairly sure this used to have the values as well as the fields that changed.

Send email and sms with in built form fields

I'm currently retrieving my email template created in the front end with form fields included (like {job.billing_contact_first} or {document}, and then using the body of the retrieved template to send an email through API. When the email is received the form fields are coming through as plain text instead of being converted to values. I assume this wouldn't be the expected behaviour is it?

Adding email and sms to job diary

Is there a way to save emails and sms that are sent using the API to the job diary?