Skip to main content
POST
/
api
/
companies
{
  "message": "<string>",
  "data": {
    "id": 123,
    "user_id": 123,
    "name": "<string>",
    "email": "<string>",
    "latitude": 123,
    "longitude": 123
  }
}

Authorizations

Authorization
string
header
required

Enter your JWT token in the format 'Bearer '

Body

application/json
name
string
required
Example:

"Tech Corp"

email
string | null
latitude
number<float> | null
Example:

52.520008

longitude
number<float> | null
Example:

13.404954

Response

201 - application/json

Company created successfully

message
string
data
object