POST
https://api.upsolve.ai
/
v1
/
api
/
tenant
/
register-tenant
curl --request POST \
  --url https://api.upsolve.ai/v1/api/tenant/register-tenant \
  --header 'Content-Type: application/json' \
  --data '{
  "apiKey": "up_embed_************",
  "displayName": "Google Inc",
  "prefilters": {
    "company_id": "company-google",
    "company_class": "tech"
  }
}'
{
  "status": "success",
  "data": {
    "message": "Tenant Google Inc registered.",
    "token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJkYXRhIjp7InBhcmVudE9yZ0lkIjoiYWJkZTZmMjQtYWYwZi00Zjg3LWI4NzEtNzk0NGIyYzhjM2IzIiwiZGlzcGxheU5hbWUiOiJEZW1vIChBZG1pbikiLCJwYXlsb2FkIjp7fX0sImlhdCI6MTcwOTI2NTcyOSwiZXhwIjoxNzA5MjY5MzI5fQ.nfMwGbPe7zwCwlky079PVjA-ox0G2OtTuFo_0MXoLCE"
  }
}

Authorizations

apiKey
string
query
required

apiKey MUST be supplied within the request body instead of query

Body

application/json

POST /v1/api/tenant/register-tenant Request body

The body is of type object.

Response

200
application/json

POST /v1/api/tenant/register-tenant Positive response

The response is of type object.