Create a new customer contact account

Add a new contact person to the customer system. This endpoint returns a contact ID that can be used for future calls related to the contact's permissions and information. The phone number provided may be required to verify existing accounts or link new contacts to existing customers.

Headers

Accept Example
Content-Type Example

Body

required
application/json
type string required
firstname string required
lastname string required
email string required
password string required
phonenumber string required
address1 string required
city string required
country string required
postcode string required

Responses

200
success boolean
timestamp string
requestId string
data object
POST https://cloud.hostup.se/api/teams
For AI assistants
cURL
curl -X POST "https://cloud.hostup.se/api/teams" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "type": "string",
    "firstname": "string",
    "lastname": "string",
    "email": "string",
    "password": "string",
    "phonenumber": "string",
    "address1": "string",
    "city": "string",
    "country": "string",
    "postcode": "string"
  }'
Response
{
  "success": true,
  "timestamp": "string",
  "requestId": "string",
  "data": {
    "success": true,
    "contact_id": 0,
    "call": "string",
    "server_time": 0
  }
}
Request Body
{
  "type": "string",
  "firstname": "string",
  "lastname": "string",
  "email": "string",
  "password": "string",
  "phonenumber": "string",
  "address1": "string",
  "city": "string",
  "country": "string",
  "postcode": "string"
}