Skip to content
Last updated

Creating a Dynamic Monetization Instance


Authorization: administration token

Endpoint information: Create an instance


This section describes the steps for using the POST /instances API to create an instance for a customer account.

Important: If this is the first instance created for a specific account, it will be created as the default instance.

Send a POST to /provisioning/api/v1.0/instances. Use the values as described in the following table:

ItemDescription
URI/provisioning/api/v1.0/instances
MethodPOST
Query parametersN/A
Request body
{ 
  "shortName": "ACME-def-inst",
  "accountId": "ACME"
} 

Sample Response

If the request was successful, the response returns the instance information, similar to this:

{
    "id": "d889a651-123a-456b-78d9-60d6de8cfes9",
    "shortName": "ACME-def-inst",
    "accountId": "ACME",
    "defaultInstance": true,
    "created": 1,
    "modified": 0
}