How to successfully create a contract using python request lib?

Here is my request:

return requests.post(

f"{endpoint}/v1/create",


headers = tokenHeader,

json = {



  "templateId" : {

    "moduleName": "Main",

    "entityName": contractName

  },

  "meta" : {

    "ledgerEffectiveTime": epoch # Wall time unsupported on DABL

  },

  "argument": {

    "event": damlDict,

    "owner": singatoryParty,

    "obs": singatoryParty

  }

},

verify=False

)