Create a Splunk On-Call integration

Returns either a newly created Splunk On-Call integration, or validation errors.

POST https://uptime.betterstack.com/api/v2/splunk-on-calls

Headers

Authorization
required string
Content_Type
string

Body parameters

name
string
*
201

Response body

{
  "data": {
    "id": "17",
    "type": "splunk_on_call_integration",
    "attributes": {
      "name": "Test",
      "url": "https://[url]"
    }
  }
}

Example cURL

Example
curl -X "POST" "https://uptime.betterstack.com/api/v2/splunk-on-calls/" \
     -H "Authorization: Bearer $TEAM_TOKEN" \
     -H 'Content-Type: application/json; charset=utf-8' \
     -d $'{
  "name": "Test",
  "url": "https://[url]"
}'