Skip to main content
POST
/
partner
/
tenants
Create Tenant
curl --request POST \
  --url https://api.embedreach.com/partner/tenants \
  --header 'Content-Type: application/json' \
  --data '
{
  "external_id": "<string>",
  "locations": [
    {
      "addressLine1": "<string>",
      "locality": "<string>",
      "district": "<string>",
      "postalCode": "<string>",
      "countryCode": "<string>",
      "addressLine2": "<string>",
      "addressLine3": "<string>"
    }
  ],
  "name": "<string>",
  "website": "<string>",
  "branding": {
    "logoBase64": "<string>",
    "logoURL": "<string>",
    "primaryColor": "<string>",
    "secondaryColors": [
      "<string>"
    ],
    "brandName": "<string>",
    "primaryPhone": "<string>",
    "primaryEmail": "[email protected]",
    "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",
  "smsOptInImageUrls": [
    "<string>"
  ]
}
'
{
  "success": true,
  "message": "<string>",
  "data": {
    "id": "<string>",
    "externalId": "<string>",
    "website": "<string>",
    "name": "<string>",
    "dataIntegrationComplete": true,
    "locations": [
      {
        "addressLine1": "<string>",
        "locality": "<string>",
        "district": "<string>",
        "postalCode": "<string>",
        "countryCode": "<string>",
        "addressLine2": "<string>",
        "addressLine3": "<string>"
      }
    ],
    "smsOptInImageUrls": [
      "<string>"
    ]
  }
}

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

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
smsOptInImageUrls
string<uri>[]

Array of URLs that demonstrate how SMS consent is obtained. Can be image URLs (screenshots) or URLs to ordering/checkout pages where consent is captured.

Response

Status 200 response

success
boolean
required
message
string
data
object