Update Company Profile
curl --request PATCH \
--url https://api.example.com/api/v1/companies/me \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"websiteUrl": "<string>",
"phone": "<string>",
"logoUrl": "<string>",
"industry": "<string>",
"size": {},
"type": {},
"headquartersLocation": "<string>",
"foundedYear": 123,
"benefits": "<string>",
"linkedIn": "<string>",
"facebook": "<string>",
"twitter": "<string>"
}
'import requests
url = "https://api.example.com/api/v1/companies/me"
payload = {
"name": "<string>",
"description": "<string>",
"websiteUrl": "<string>",
"phone": "<string>",
"logoUrl": "<string>",
"industry": "<string>",
"size": {},
"type": {},
"headquartersLocation": "<string>",
"foundedYear": 123,
"benefits": "<string>",
"linkedIn": "<string>",
"facebook": "<string>",
"twitter": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
websiteUrl: '<string>',
phone: '<string>',
logoUrl: '<string>',
industry: '<string>',
size: {},
type: {},
headquartersLocation: '<string>',
foundedYear: 123,
benefits: '<string>',
linkedIn: '<string>',
facebook: '<string>',
twitter: '<string>'
})
};
fetch('https://api.example.com/api/v1/companies/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/companies/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'websiteUrl' => '<string>',
'phone' => '<string>',
'logoUrl' => '<string>',
'industry' => '<string>',
'size' => [
],
'type' => [
],
'headquartersLocation' => '<string>',
'foundedYear' => 123,
'benefits' => '<string>',
'linkedIn' => '<string>',
'facebook' => '<string>',
'twitter' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/companies/me"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"websiteUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": {},\n \"type\": {},\n \"headquartersLocation\": \"<string>\",\n \"foundedYear\": 123,\n \"benefits\": \"<string>\",\n \"linkedIn\": \"<string>\",\n \"facebook\": \"<string>\",\n \"twitter\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/api/v1/companies/me")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"websiteUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": {},\n \"type\": {},\n \"headquartersLocation\": \"<string>\",\n \"foundedYear\": 123,\n \"benefits\": \"<string>\",\n \"linkedIn\": \"<string>\",\n \"facebook\": \"<string>\",\n \"twitter\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/companies/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"websiteUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": {},\n \"type\": {},\n \"headquartersLocation\": \"<string>\",\n \"foundedYear\": 123,\n \"benefits\": \"<string>\",\n \"linkedIn\": \"<string>\",\n \"facebook\": \"<string>\",\n \"twitter\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyCompany
Update Company Profile
Update the authenticated company profile
PATCH
/
api
/
v1
/
companies
/
me
Update Company Profile
curl --request PATCH \
--url https://api.example.com/api/v1/companies/me \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"description": "<string>",
"websiteUrl": "<string>",
"phone": "<string>",
"logoUrl": "<string>",
"industry": "<string>",
"size": {},
"type": {},
"headquartersLocation": "<string>",
"foundedYear": 123,
"benefits": "<string>",
"linkedIn": "<string>",
"facebook": "<string>",
"twitter": "<string>"
}
'import requests
url = "https://api.example.com/api/v1/companies/me"
payload = {
"name": "<string>",
"description": "<string>",
"websiteUrl": "<string>",
"phone": "<string>",
"logoUrl": "<string>",
"industry": "<string>",
"size": {},
"type": {},
"headquartersLocation": "<string>",
"foundedYear": 123,
"benefits": "<string>",
"linkedIn": "<string>",
"facebook": "<string>",
"twitter": "<string>"
}
headers = {"Content-Type": "application/json"}
response = requests.patch(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'PATCH',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
name: '<string>',
description: '<string>',
websiteUrl: '<string>',
phone: '<string>',
logoUrl: '<string>',
industry: '<string>',
size: {},
type: {},
headquartersLocation: '<string>',
foundedYear: 123,
benefits: '<string>',
linkedIn: '<string>',
facebook: '<string>',
twitter: '<string>'
})
};
fetch('https://api.example.com/api/v1/companies/me', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.example.com/api/v1/companies/me",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "PATCH",
CURLOPT_POSTFIELDS => json_encode([
'name' => '<string>',
'description' => '<string>',
'websiteUrl' => '<string>',
'phone' => '<string>',
'logoUrl' => '<string>',
'industry' => '<string>',
'size' => [
],
'type' => [
],
'headquartersLocation' => '<string>',
'foundedYear' => 123,
'benefits' => '<string>',
'linkedIn' => '<string>',
'facebook' => '<string>',
'twitter' => '<string>'
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/v1/companies/me"
payload := strings.NewReader("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"websiteUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": {},\n \"type\": {},\n \"headquartersLocation\": \"<string>\",\n \"foundedYear\": 123,\n \"benefits\": \"<string>\",\n \"linkedIn\": \"<string>\",\n \"facebook\": \"<string>\",\n \"twitter\": \"<string>\"\n}")
req, _ := http.NewRequest("PATCH", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.patch("https://api.example.com/api/v1/companies/me")
.header("Content-Type", "application/json")
.body("{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"websiteUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": {},\n \"type\": {},\n \"headquartersLocation\": \"<string>\",\n \"foundedYear\": 123,\n \"benefits\": \"<string>\",\n \"linkedIn\": \"<string>\",\n \"facebook\": \"<string>\",\n \"twitter\": \"<string>\"\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/v1/companies/me")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Patch.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"name\": \"<string>\",\n \"description\": \"<string>\",\n \"websiteUrl\": \"<string>\",\n \"phone\": \"<string>\",\n \"logoUrl\": \"<string>\",\n \"industry\": \"<string>\",\n \"size\": {},\n \"type\": {},\n \"headquartersLocation\": \"<string>\",\n \"foundedYear\": 123,\n \"benefits\": \"<string>\",\n \"linkedIn\": \"<string>\",\n \"facebook\": \"<string>\",\n \"twitter\": \"<string>\"\n}"
response = http.request(request)
puts response.read_bodyEndpoint
PATCH /api/v1/companies/me
http://localhost:3000/api/v1
This endpoint requires Company authentication.
Headers
| Header | Value |
|---|---|
| Authorization | Bearer |
Request Body
string
Company name.
string
Company description.
string
Company website URL.
string
Contact phone number.
string
Logo image URL.
string
Industry (e.g., “Technology”, “Healthcare”, “Finance”).
enum
Company size. -
SIZE_1_50 - SIZE_51_200 - SIZE_201_1000 - SIZE_1000_PLUSenum
Company type. -
STARTUP - SCALE_UP - ENTERPRISE - NON_PROFIT - GOVERNMENTstring
Headquarters location.
number
Year the company was founded.
string
Company benefits description.
string
LinkedIn company URL.
string
Facebook page URL.
string
Twitter profile URL.
Example Request
{
"name": "Tech Corp Updated",
"description": "Updated description",
"industry": "Software",
"size": "SIZE_51_200"
}
Response
{
"success": true,
"data": {
"id": "uuid",
"email": "company@example.com",
"name": "Tech Corp Updated",
"description": "Updated description",
"industry": "Software",
"size": "SIZE_51_200",
"twitter": "https://twitter.com/techcorp"
},
"message": "Company profile updated successfully",
"meta": {
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/companies/me",
"method": "PATCH"
}
}
Error Responses
400 Bad Request - Validation Error
{
"success": false,
"error": {
"message": [
"size must be one of the following values: SIZE_1_50, SIZE_51_200, SIZE_201_1000, SIZE_1000_PLUS"
],
"statusCode": 400,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/companies/me",
"method": "PATCH",
"details": "Bad Request"
}
}
401 Unauthorized
{
"success": false,
"error": {
"message": "Unauthorized",
"statusCode": 401,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/companies/me",
"method": "PATCH",
"details": "Unauthorized"
}
}
403 Forbidden
{
"success": false,
"error": {
"message": "Forbidden resource",
"statusCode": 403,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/companies/me",
"method": "PATCH",
"details": "Forbidden"
}
}
404 Not Found
{
"success": false,
"error": {
"message": "Failed to update company profile",
"statusCode": 404,
"timestamp": "2026-04-23T20:00:00.000Z",
"path": "/companies/me",
"method": "PATCH",
"details": "Not Found"
}
}
⌘I
