Create a company
POST/api/company
Create a new company with the provided information
Request
- application/json
Body
required
The name of the company.
Company website
The description of the company. Can be null.
Monthly budget in USD
Year of foundation
The URL of the company avatar.
Possible values: [art_and_design, automobiles, beauty, beverages, books_and_literature, career_and_business, children_toys_and_games, diy, e_commerce, education, events_and_entertainment, fashion, finance_and_insurance, food, gardening_and_outdoor, health_and_fitness, hobbies_and_crafts, home_and_living, home_appliences, legal_services, mobile_games, news, non_profit_and_charity, office_supplies, parenting_and_family_products, personal_development, pets, photography, podcasts, real_estate, social_media_tools, sports_and_outdoor_activities, streaming, subscription_box, technology, travel, video_games, wedding]
The categories of the company.
Responses
- 200
- 422
- default
Created company
- application/json
- Schema
- Example (from schema)
Schema
The unique identifier of the company.
The name of the company.
The description of the company. Can be null.
The URL of the company avatar.
Possible values: [art_and_design, automobiles, beauty, beverages, books_and_literature, career_and_business, children_toys_and_games, diy, e_commerce, education, events_and_entertainment, fashion, finance_and_insurance, food, gardening_and_outdoor, health_and_fitness, hobbies_and_crafts, home_and_living, home_appliences, legal_services, mobile_games, news, non_profit_and_charity, office_supplies, parenting_and_family_products, personal_development, pets, photography, podcasts, real_estate, social_media_tools, sports_and_outdoor_activities, streaming, subscription_box, technology, travel, video_games, wedding]
The categories of the company.
Company website
Monthly budget in USD
Year of foundation
{
"id": "3fa85f64-5717-4562-b3fc-2c963f66afa6",
"name": "string",
"description": "string",
"avatar": "string",
"categories": [
"art_and_design"
],
"home_page": "string",
"monthly_budget": "string",
"year_of_foundation": 0
}
Cannot create company for some reason
- application/json
- Schema
- Example (from schema)
Schema
The error code
A human-readable error message
{
"code": 0,
"message": "string"
}
Unexpected error
- application/json
- Schema
- Example (from schema)
Schema
The error code
A human-readable error message
{
"code": 0,
"message": "string"
}