Trailhead seems to have an API to access trailhead data about badges, project, modules, roles, users etc. but it requires an API key to use. Does anybody know how to get any API key to use this API?
Trailhead seems to have an API to access trailhead data about badges, project, modules, roles, users etc. but it requires an API key to use. Does anybody know how to get any API key to use this API?
Best Answer
You will need to contact Trailhead to get an official
X-API-Key
key to use in the header. Try Trailhead@salesforce.com initially.I believe you also need to have your IP address whitelisted against the key. E.g. If you call the API with a random key you get a response along the line of:
Via details that have leaked out via forums, there appears to be a "Trailhead API" module with a "Search Using the Trailhead API" challenge, but it isn't available to the public via Trailhead.