Cost Control

Create Credit Budget

Changed on

Create a new credit budget to cap spend per scope.

post/v1/batch/budgets

Request

  • Base URL
    https://api.leadmagic.io
  • Auth
    API key in header X-API-Key

Request body

scopestring required
scope_valuestring required
max_creditsnumber required
periodstring
alert_threshold_pctnumber
alert_emailstring email

Response

Budget created.

idstring
scopestring
scope_valuestring
max_creditsnumber
periodstring
alert_threshold_pctnumber
alert_emailstring

Changes

    • breaking

      the ////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////////// response's property format changed from uri to uri-reference for status

    • breaking

      the ////////// response's property format changed from uri to uri-reference for status