Skip to content

Accounts

Coming soon; contact us if you need access to this API endpoint.

Create an account

Request

Create an [Account]

This endpoint is unauthenticated. Do not send a Bearer Token in the Authorization Header

Security
bearerToken
Bodyapplication/jsonrequired
subdomainstringrequired

The subdomain of the Account

Example:"planto"
companyNamestring

The company name of the Account, if not given this will default to the subdomain

Example:"Planto"
trialSignUpSourcestring or null
attributionobject or null
selfReportedCompanyDescriptionstring
Default:"SKIPPED"
Enum:"SELLING_PRODUCTS""CREATIVE_MARKETING_AGENCY""NON_PROFIT""OTHER""SKIPPED""NEVER_ASKED"
Example:"SELLING_PRODUCTS"
selfReportedGoalsArray of any
Default:[]
referrerCodestring or null
optInToBetasArray of strings
Default:[]
Items Value:"AI"
Example:
[ "AI" ]
curl -i -X POST \
  https://api-v2.dash.app/accounts \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "subdomain": "planto",
    "companyName": "Planto",
    "trialSignUpSource": "string",
    "attribution": {
      "source": "string",
      "freeText": "string"
    },
    "selfReportedCompanyDescription": "SELLING_PRODUCTS",
    "selfReportedGoals": [],
    "referrerCode": "string",
    "optInToBetas": []
  }'

Responses

Success

Bodyapplication/json
resultobjectrequired
permittedActionsArray of objectsrequired
Response
{ "result": { "id": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "subdomain": "planto", "companyName": "Planto", "plan": "STAFF", "dateCreated": "2021-02-17T09:24:01.417Z", "dateExpires": "2021-02-27", "trialSignUpSource": "string", "attribution": {}, "selfReportedCompanyDescription": "SELLING_PRODUCTS", "selfReportedGoals": [] }, "permittedActions": [ {} ] }