Brand
Create a new brand
Creates a new brand with the provided data. The logo URL is downloaded and stored first: when it cannot be downloaded or is not a usable image, the brand is not saved and the request fails with 422. The brand is approved when the user has the create-companies-auto-approve permission, unless the request sends approved=false. Sending approved=true never approves a brand for a user without that permission.
post/api/company
Request
- Base URLhttps://api.sponsorunited.com (the document declares no server; this is the origin it was published from)
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Headers
X-Agent-Namestring
Example:News Agent
Name of the agent making the change, for example News Agent. Recorded as created_by_agent / updated_by_agent only when the request carries an agent token; ignored otherwise. At most 100 characters.
Request body
Response
Brand created successfully
Changes
No recorded changes to this operation across all 2 revisions of this API.