Discussions
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.
ssue with Creating Clients via API - "Invalid value for badges, must be a JSON array"; error Message
I've been encountering an issue when attempting to create a client via the API. Specifically, I am consistently receiving an error related to the "badges" field, stating "Invalid value for badges, must be a JSON array," regardless of the format I use in the field.
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.
Issues with the custom template
I have created custom invoice/receipts/quote templates and it's such a hit and miss. I follow the instructions and use the available fields as per the list provided and yet the template doesn't come out the way it needs to be. For example: I input «job.contact_first» «job.contact_last» and I get the whole thing including the job site address and main billing contact details. I have downloaded multiple different documents to copy and paste from, I have created it from scratch and it's just so temperamental. I can download the template and upload the exact same one untouched and it will add fields that I did not request for.
Any way to get the Quote link?
When you send a quote to a client, there's a link to accept the quote on the e-mail, is there any way to get the link without manually pulling it from the e-mail?
The closest thing to that that I can find is in the attachments request, however the link itself is not present.
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
Create one custom addon
i need to create addon bellow are fuctionality i required
When using ".file" extention on attachment request I receive "0" response status
I need to download all jpg's attached to a job. I have a excel sheet that stores all the UUID's of the attachments and I cycle through each of the .jpg attachments with the following requests:
Attaching files via the API
In the developer docs (https://developer.servicem8.com/docs/attaching-files-to-a-job-diary) for adding attachments to jobs via the API, should the endpoint for submitting the attachment data be POST https://api.servicem8.com/api_1.0/Attachment/2404fbd2-cff6-4222-86b4-54a6ea4dbb8b.json instead of POST https://api.servicem8.com/api_1.0/Attachment/2404fbd2-cff6-4222-86b4-54a6ea4dbb8b.file ? (IE .json instead of .file)
I'm a Subcontractor but I also do my own work
how would I go about allowing another company that I work with have access to my calendar I.e if I have booked a job it shows them I’m busy but also allows them to book jobs in for me? I have my own company but I also contract for one other business and we both book jobs in for myself and a couple other workers I need the other company to have booking abilities on mine and my worker’s calendars while also being able to see when we are busy p.s we both use service m8