Skip to main content
POST
/
api
/
services
Create a new service
curl --request POST \
  --url https://api.ipulse.one/api/services \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "name": "API Service",
  "type": "http"
}
'

Authorizations

Authorization
string
header
required

JWT Bearer token authentication

Body

application/json
name
string
required
Example:

"API Service"

type
enum<string>
required
Available options:
http,
tcp,
smtp,
imap,
dns
Example:

"http"

host
string
Example:

"api.example.com"

port
integer
Example:

443

check_interval
integer
default:300
Required range: 60 <= x <= 86400

Response

201

Service created successfully