Discussions

Ask a Question

React / Component Frameworks

Wondering if anyone has been able to successfully use a modern approach to developing a web application within SM8. ServiceM8 seems to currently support vanilla JS.

Job address not showing up

I type in an address (or client) and all the results come up with the same address (the client address rather than the site address). If you open the job it has the correct address in the field. It only happens every so often <br>

Webhook subscription Assistance

I can't log in here using my developer access <https://api.servicem8.com/webhook_subscriptions> I need to set up a webhook

I am not able to authenticate via OAuth authentication to ServiceM8 api. Getting invalid client credentials

Hi ServiceM8 api team. I am a freelancer. My client want to build his own app to jobs and some other stuff. Now to get the jobs, staff and customers data into that app we need to use servicem8 api. Because of 2fa we have to use OAuth authentication. Our app will access the api on a PHP(Laravel) backend server. So we are not able to use authenticate via Oauth. please help. I have created add-on and followed all the step described in api reference. Please help as soon as possible.

How can I get data inside My Clients(Partner Support) using API.

I can get data from the developer account using App ID and App Secret Key but in My clients option there is no such option to find App ID or App secret key. If any solution is there please let me know.

Badge disappearing after adding service

I have just secured a contact with homecare. I was to add a badge to signify its a homecare client. so have used the 2 persdon job badge and renamed it. Its there when job is created but leaves when service is added. how can I make it permanent for that client.
ANSWERED

Urlencoded Search containing apostrophe (')

Im hoping there is a simple answer to this that someone has come accross or Cody can answer. using URLencoded filtered search of contacts and am getting advanced filtering is not available The contact i am trying to search for is called "Domino's - Joondalup" My urlencoded search is <https://api.servicem8.com/api_1.0/company.json?$filter=name%20eq%20'Domino's> - Joondalup' I am receiving an error saying that advanced filtering is not available. Im assuming this is because it is parsing the apostrophe in domino's and treating it as a filter parameter. has anyone else come accross this an is there a way that you can escape the apostrophe so it is parsed as par of the string and not the filter.

Is there a timing problem with registering a webhook on addon registration?

I seem to have a problem where if I register a webhook during the initial Addon Install/Registration, that whil the webhook subscribe request comes back as success=true, but the callback_url is stored wrong within ServiceM8 as a constant. (ADDON_CALLBACK_URL) You can see that by doing a get to the webhook_subscriptions URL... This is the JSON response to a get request to <https://api.servicem8.com/webhook_subscriptions> after successfully registering the webhook during the addon install... (i.e. I'm doing this in my callback code after authorisation) \[ { "object": "job", "callback_url": "ADDON_CALLBACK_URL", "fields": [ "status" ], "unique_id": "", "active": true } ] If I wait a minute and then try, the registration also returns success as well, but does store the correct callback_url. Has this been a problem for anyone else? I need to do this on registration as it's the only time I have the vendor ID. (Calls to the vendor.json REST work fine, so data is already populated.) I'd hate to have to put in some kind of delay/variable that's variable in duration depending on circumstances.

Notifications For New Jobs

Just wanted to know if there is any way to receive notifications whenever a new job has been created within ServiceM8? We currently have a Google Ads lead form asset set-up via Zapier and would like our client to be notified whenever a new job is created. Is this possible or is this feature being added?

Job auto recurring pushed forward

when a job is completed for a recurring 2 weekly cycle, say, one day late, the app pushes the next job to 2 weeks from the completion date instead of keeping the original cycle. For our mowing business, the original two week cycle needs to be kept, otherwise it throws the roster out of whack