POST
/
partner
/
tenants
Create Tenant
curl --request POST \
  --url https://api.embedreach.com/partner/tenants \
  --header 'Content-Type: application/json' \
  --data '{
  "external_id": "<string>",
  "website": "<string>",
  "locations": [
    {
      "addressLine1": "<string>",
      "addressLine2": "<string>",
      "addressLine3": "<string>",
      "locality": "<string>",
      "district": "<string>",
      "postalCode": "<string>",
      "countryCode": "<string>"
    }
  ],
  "name": "<string>",
  "branding": {
    "logoBase64": "<string>",
    "logoURL": "<string>",
    "primaryColor": "<string>",
    "secondaryColors": [
      "<string>"
    ],
    "brandName": "<string>",
    "brandTagline": "<string>",
    "brandPersonality": {
      "tone": "<string>",
      "voice": "<string>",
      "values": [
        "<string>"
      ]
    },
    "colorPalette": {
      "primary": "<string>",
      "secondary": [
        "<string>"
      ],
      "accent": [
        "<string>"
      ],
      "background": [
        "<string>"
      ],
      "text": [
        "<string>"
      ]
    }
  },
  "dataIntegrationCompletedAt": "<string>",
  "websiteTrackingCompletedAt": "<string>",
  "measureDateAttributionStyle": "click"
}'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "externalId": "<string>",
    "website": "<string>",
    "locations": [
      {
        "addressLine1": "<string>",
        "addressLine2": "<string>",
        "addressLine3": "<string>",
        "locality": "<string>",
        "district": "<string>",
        "postalCode": "<string>",
        "countryCode": "<string>"
      }
    ],
    "name": "<string>",
    "dataIntegrationComplete": true
  }
}

Body

application/json
external_id
string
required

The external id of the business (e.g. the id you use to identify the business in your system)

locations
object[]
required

The locations of the business

name
string
required

A friendly name for the business

website
string

The website of the business

branding
object | null

Optional branding information for the business

dataIntegrationCompletedAt
string | null

The date and time the business completed data integration

websiteTrackingCompletedAt
string | null

The date and time the business completed website tracking configuration

measureDateAttributionStyle
enum<string>

The date attribution style to use when measuring metrics

Available options:
click,
transaction

Response

Status 200 response

success
boolean
required
message
string
data
object