Skip to main content
POST
/
v1
/
profile
Create company profile
curl --request POST \
  --url https://sgjm-api.vohoangphuc.com/v1/profile \
  --header 'Content-Type: application/json' \
  --cookie auth_token= \
  --data '
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "country": "<string>",
  "phone": "<string>",
  "address": "<string>",
  "city": "<string>",
  "aboutUs": "<string>",
  "admissionDescription": "<string>",
  "logoUrl": "<string>"
}
'
{
  "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "name": "<string>",
  "createdAt": "2023-11-07T05:31:56Z"
}

Authorizations

auth_token
string
cookie
required

JWE token stored in HttpOnly cookie

Body

application/json
id
string<uuid>
required

Company ID from auth service

name
string
required
country
string
required
phone
string
address
string
city
string
aboutUs
string
Required string length: 3 - 5000
admissionDescription
string
Required string length: 3 - 5000
logoUrl
string

Response

201 - application/json

Profile created successfully

id
string<uuid>
name
string
createdAt
string<date-time>