POST
https://app.loadforge.com/api/v2
/
hosts
curl --request POST \
  --url https://app.loadforge.com/api/v2/hosts \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "url": "<string>",
  "port": "<string>",
  "protocol": "<string>"
}'
{
  "host_id": 123
}

Create a new host by providing necessary details such as url, port, and protocol. Post-creation, the host will be automatically scheduled for verification.

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Host to add

The body is of type object.

Response

200
application/json

Host creation response

The response is of type object.