Explore documentation

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

team_name
string
name
string
*
201

Response body

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

Example cURL

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