SDK

Get your publishable key

Changed on

Returns the publishable key (pk_test_… or pk_live_…) the doola SDK needs in the browser, the same one shown in the Partner Portal. The key is created on the first request and never changes after that.

get/v1/partner/sdk/keys

Request

  • Base URL
    https://api.test.doola.com
  • URL
    https://api.test.doola.com/v1/partner/sdk/keys
  • Auth
    API key in header Authorization

Response

OK

publishableKeystring

Your publishable key. Public by design: pass it to loadDoola in the browser.

createdAtstring date-time

When the key was created.

Example response

{
  "publishableKey": "pk_test_2fXbQe8Kc1m9TzR4"
}

Changes