Where to get my API and API secret key?

Where to get my API and API secret key?

Hi Innah Marie,

For a private integration (connecting to your own ServiceM8 account), you generate an API Key in ServiceM8 under Account > Settings > API Keys (then Add API Key).
That API Key is what ServiceM8 uses to authenticate requests, and you send it in the X-API-Key header.

If you’re building an OAuth-based add-on, ServiceM8 issues an App ID and App Secret after you create and save your add-on in the Developer menu.

If you can’t see “API Keys” in Settings, log into the online dashboard and use Help > Contact Support Team so we can point you to the right place.

Thanks,
Cody

Hi Cody, thanks for your reply. We’re building an OAuth-based add-on, where I can get the secret API key?

Hi Innah Marie,

For an OAuth-based add-on, the “secret API key” you’re looking for is your add-on’s App Secret (it’s used as client_secret in the OAuth token exchange).

Once you’ve created and saved your add-on in the Developer area, ServiceM8 issues an App Id and App Secret, and they’re shown on your app’s Store Connect page inside your partner account.

If you haven’t registered as a Development Partner yet, you’ll need to do that first so you can access the Developer menu and create the add-on item.

Thanks,
Cody

okay I see. I will try that