Creates a new Account within the calling Platform.
Authorization
authorization In: header
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://api.surge.app/accounts" \ -H "Content-Type: application/json" \ -d '{ "brand_name": "DT Precision Auto", "name": "Account #2840 - DT Precision Auto", "organization": { "address": { "country": "US", "line1": "2640 Huron St", "line2": null, "locality": "Los Angeles", "name": "DT Precision Auto", "postal_code": "90065", "region": "CA" }, "contact": { "email": "dom@dtprecisionauto.com", "first_name": "Dominic", "last_name": "Toretto", "phone_number": "+13235556439", "title": "other", "title_other": "Owner" }, "country": "US", "email": "dom@dtprecisionauto.com", "identifier": "123456789", "identifier_type": "ein", "industry": "automotive", "mobile_number": "+13235556439", "regions_of_operation": [ "usa_and_canada" ], "registered_name": "DT Precision Auto LLC", "stock_exchange": null, "stock_symbol": null, "type": "llc", "website": "https://dtprecisionauto.com" }, "time_zone": "America/Los_Angeles" }'{
"brand_name": "DT Precision Auto",
"id": "acct_01jpqjvfg9enpt7pyxd60pcmxj",
"name": "Account #2840 - DT Precision Auto",
"organization": {
"address": {
"country": "US",
"line1": "2640 Huron St",
"line2": null,
"locality": "Los Angeles",
"name": "DT Precision Auto",
"postal_code": "90065",
"region": "CA"
},
"contact": {
"email": "dom@dtprecisionauto.com",
"first_name": "Dominic",
"last_name": "Toretto",
"phone_number": "+13235556439",
"title": "other",
"title_other": "Owner"
},
"country": "US",
"email": "dom@dtprecisionauto.com",
"identifier": "123456789",
"identifier_type": "ein",
"industry": "automotive",
"mobile_number": "+13235556439",
"regions_of_operation": [
"usa_and_canada"
],
"registered_name": "DT Precision Auto LLC",
"stock_exchange": null,
"stock_symbol": null,
"type": "llc",
"website": "https://dtprecisionauto.com"
},
"time_zone": "America/Los_Angeles"
}{
"error": {
"message": "The requested resource could not be found.",
"type": "not_found"
}
}