Create event subscription

POST {{url}}/v2/event-subscriptions

Request Body

{"event"=>"document.open", "entity_id"=>"{{document_id}}", "action"=>"callback", "attributes"=>{"callback"=>"{{callback_url}}", "use_tls_12"=>true, "integration_id"=>"{{integration_id}}", "docid_queryparam"=>true, "headers"=>{"string_head"=>"test", "int_head"=>12, "bool_head"=>false, "float_head"=>12.24}, "include_metadata"=>true, "secret_key"=>"c8XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"}}

HEADERS

KeyDatatypeRequiredDescription
Authorizationstring
Content-Typestring