Need Help Renewing Expired ServiceM8 API Token

Originally posted by Matthew Ball

Hi all,

Our private integration with the ServiceM8 API suddenly stopped working due to a 401 Unauthorized error. After some investigation, I discovered that our API token has expired and needs to be renewed or replaced.

Unfortunately, ServiceM8 does not provide direct support for API issues—they’ve directed all queries to the community discussion board.

I’m not sure how to renew the existing token, so I attempted to generate a new one by following these steps:

  1. Go to Developer Options

  2. Create a new application

  3. Submit for review

However, it’s been over a week now, and the new application is still under review. This delay is very frustrating, and I’ve reached out to support for a faster alternative, but they simply referred me back here.

If anyone has experience with this or knows a quicker way to restore API access, your help would be greatly appreciated.

Thanks in advance!

Hi Matthew,

Have you checked the docs Re: OAuth? To get OAuth Access, you need to follow the procedure. After that you get 2 tokens. An Access Token with a limited lifetime of (I think around) 900 seconds, and a Refresh Token.

The Access Token is used to interact with the API, the Refresh Token is used to get an Access Token, but can only be used once. When you use the Refresh Token, you get a new set of Access and Refresh Tokens.