POST
/
api
/
ext
/
v1
/
companies
curl --request POST \
  --url https://staging-api.covver.io/api/ext/v1/companies \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "logoUrl": "<string>",
  "name": "<string>"
}'
{
  "companyId": "<string>",
  "companySlug": "<string>"
}

If this is the first visit of a customer, you should create a company, and save the companyId and companySlug. Later you can display the swag catalog manager iframe

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json
name
string
required

Company name

logoUrl
string

Company logo URL

Response

200
application/json
Default Response
companyId
string
required
companySlug
string
required