Skip to main content
POST
Create a mass credit template

Authorizations

X-API-Key
string
header
required

Organization API key. Format: "hp_live_{key}". Organization admins manage the key in the dashboard.

Body

application/json
name
string
required
Required string length: 1 - 80
Example:

"Platform outage - net loss, capped"

rules
object
required

How the credit is computed. Every field is optional (a template or the defaults fill the rest), except the window, which the request or the template must give.

description
string
Maximum string length: 500
selection
object

Optional: all or filter (a template cannot hold an account list)

Response

Created

success
boolean
data
object