Skip to main content
Sub-Account (Formerly Location)Version: v3

Create Sub-Account (Formerly Location)

POST/locations

Create a new Sub-Account (Formerly Location) based on the data provided

info

This feature is only available on Agency Pro ($497) plan.

Authorizations

Authorizationstringheaderrequired

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

Scope:locations.write
Auth methods:OAuthPrivate Integration
Token type:Agency Token

Request​

Headers

Versionstringrequired

API Version

Available optionsv3

Body

namestringrequired

The name for the sub-account/location

Example:Mark Shoes
phonestring

The phone number of the business for which sub-account is created with the appropriate country-code

Example:+1410039940
companyIdstringrequired

Company/Agency Id

Example:UAXssdawIWAWD
addressstring

The address of the business for which sub-account is created

Example:4th fleet street
citystring

The city where the business is located for which sub-account is created

Example:New York
statestring

The state in which the business operates for which sub-account is created

Example:Illinois
countrystring

The 2 letter country-code in which the business is present for which sub-account is created

Available optionsAFAXALDZASADAOAIAQAGARAM
Example:US
postalCodestring

The postal code of the business for which sub-account is created

Example:567654
websitestring

The website of the business for which sub-account is created

Example:https://yourwebsite.com
timezonestring

The timezone of the business for which sub-account is created

Example:US/Central
prospectInfoobject
settingsobject

The default settings for location

socialobject

The social media links for location

twilioobjectdeprecated

(DEPRECATED) The twilio credentials for location

mailgunobject

The mailgun credentials for location

snapshotIdstring

The snapshot ID to be loaded into the location.

Example:XXXXXXXXXXX

Response

Successful response

idstring

Location Id

Example:ve9EPM428h8vShlRW1KT
companyIdstring

Company/Agency Id

Example:UAXssdawIWAWD
namestring

The name for the sub-account/location

Example:Mark Shoes
phonestring

The phone number of the business for which sub-account is created

Example:+1410039940
emailstring

The email for the sub-account/location

addressstring

The address of the business for which sub-account is created

Example:4th fleet street
citystring

The city where the business is located for which sub-account is created

Example:New York
statestring

The state in which the business operates for which sub-account is created

Example:Illinois
domainstring
Example:test.msgsndr.com
countrystring

The country in which the business is present for which sub-account is created

Available optionsAFAXALDZASADAOAIAQAGARAM
Example:US
postalCodestring

The postal code of the business for which sub-account is created

Example:567654
websitestring

The website of the business for which sub-account is created

Example:https://yourwebsite.com
timezonestring

The timezone of the business for which sub-account is created

Example:US/Central
settingsobject

The default settings for location

socialobject

The social media links for location