Discussions

Ask a Question

Adding attachments to a SM8 job

I hope this message finds you well.
I was trying to add an attachment to a Job using the attachment endpoint (ServiceM8 Attachment Documentation). I successfully completed the first request to create the attachment URL and received the "x-record-uuid." Now, I need to add a file to it using the subsequent step mentioned in the documentation.
However, when I try to upload the file, I encounter the following error:
{
"errorCode": 403,
"message": "insufficient_scope",
"additionalDetails": ""manage_attachments" scope required to complete this request"
}
It seems that the "manage_attachments" scope is required for this operation. Unfortunately, I could not find this scope in the list provided in the documentation here: ServiceM8 Authentication Scopes.
Could you please assist me with the following:
The "manage_attachments" scope is not listed. What steps do I need to take to obtain this scope?
Could you provide a cURL request example to add a file to the attachment URL? If there’s an option to add a file using a public URL, I would appreciate that information as well.
I hope you understand my struggle, and I would greatly appreciate your help in resolving this issue.

Connect to the serviceM8 APIs via OAuth 2.0 with my private application

Can I connect to the serviceM8 APIs via OAuth 2.0 with my private application? If yes how to get app id and app secret in private app? If not, is there a way to convert my private app to public just to use the serviceM8 API via OAuth 2.0?

Quick

Quickbooks note

Access Token error on attachments

When I try to open attachments from jobs after I upload them, I get an invalid access token or "AccessDeniedRequest has expired" string

Can I link Sm8 proposals to Hubspot

I have been able to link servicem8 to hubspot for deals and database through an API however I would like to be able to use the ServiceM8 proposal tool so I can replace Quotient however i was unable to last time we looked.

ANSWERED

Has the new check list feature been added to to the API

Trying to work with the API to create and copy the new job list checklist with titles separate lists and their tasks ect.

ANSWERED

Can't create API Key

Hi,

ANSWERED

ChatGPT and ServiceM8 integration

Hello, I would like to ask if it is possible to integrate ChatGPT with ServiceM8. I want to have a live feed of information sent to ChatGPT. If this isn't possible, what are the alternative options? I want to use ChatGPT to analyze my business data.

Impersonation Issue

Users have started getting the following error: {"errorCode":400,"message":"invalid_impersonation","additionalDetails":"Invalid Staff Member Impersonation. The specified staff member is not able to log in"}