Create Company
Developing
POST
/v1/companies
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/v1/companies' \
--header 'Content-Type: application/json' \
--data-raw '{
"email": "test@company.com",
"npwp": "1231231231231231",
"nitku": "1231231231412345123231",
"name": "Name AB",
"business_field": "Business Field",
"operation_status": "operation",
"type": "tenant",
"status_pu": "registered",
"no_pu": "string",
"pic_name": "string",
"pic_phone": "8812313123",
"address": "Jl. jalan"
}'
Response Response Example
{
"data": {
"id": "814fed4b-d385-4703-96c6-c4d1a0e27ae4",
"email": "test@company.com",
"npwp": "1231231231231231",
"nitku": "1231231231412345123231",
"name": "Name AB",
"business_field": "Business Field",
"operation_status": "operation",
"type": "tenant",
"status_pu": "registered",
"no_pu": "string",
"pic_name": "string",
"pic_phone": "8812313123",
"address": "Jl. jalan",
"created_at": "2025-06-13T08:35:27.483Z",
"updated_at": "2025-06-13T08:35:27.483Z"
},
"message": "Sukses membuat perusahaan"
}
Request
Body Params application/json
Responses
Modified at 2025-06-13 01:54:40