Create a new Sub-Account (Formerly Location) based on the data provided
This feature is only available on Agency Pro ($497) plan.
Request
Provide your bearer token in the Authorization header when making requests to protected resources.
Provide your bearer token in the Authorization header when making requests to protected resources.
Body
The name for the sub-account/location
The phone number of the business for which sub-account is created with the appropriate country-code
Company/Agency Id
The address of the business for which sub-account is created
The city where the business is located for which sub-account is created
The state in which the business operates for which sub-account is created
The 2 letter country-code in which the business is present for which sub-account is created
The postal code of the business for which sub-account is created
The website of the business for which sub-account is created
The timezone of the business for which sub-account is created
First name of the prospect
Last name of the prospect
Email of the prospect
The default settings for location
The social media links for location
Facebook URL
Googleplus URL
LinkedIn URL
Foursquare URL
Twitter URL
Yelp URL
Instagram URL
Instagram URL
Instagram URL
Instagram URL
Google Business Places ID
The twilio credentials for location
SID provided by Twilio
Auth token provided by Twilio
The mailgun credentials for location
API key provided by Mailgun
Domain connected with Mailgun
The snapshot ID to be loaded into the location.
Headers
Access Token
API Version
Responses
200
Successful response
Body
Location Id
Company/Agency Id
The name for the sub-account/location
The phone number of the business for which sub-account is created
The email for the sub-account/location
The address of the business for which sub-account is created
The city where the business is located for which sub-account is created
The state in which the business operates for which sub-account is created
The country in which the business is present for which sub-account is created
The postal code of the business for which sub-account is created
The website of the business for which sub-account is created
The timezone of the business for which sub-account is created
The default settings for location
The social media links for location
Facebook URL
Googleplus URL
LinkedIn URL
Foursquare URL
Twitter URL
Yelp URL
Instagram URL
Instagram URL
Instagram URL
Instagram URL
Google Business Places ID
422
Unprocessable Entity
Body
401
Unauthorized
Body
400
Bad Request