Skip to content

Create an external app account

Request

Associate an external app account with the account of the currently authenticated Dash user

Security
bearerToken
Bodyapplication/jsonrequired
externalAppAccountIdstringrequired

A unique identifier of the specific account to connect to in the external app

Example:"put the Shopify domain here"
appNamestringrequired
Value:"SHOPIFY"
Example:"SHOPIFY"
connectionPayloadobjectrequired

Any additional data that is required to connect to the external app

Example:"{\n \"type\": \"SHOPIFY\",\n \"clientId\": \"put the Client ID here\",\n \"clientSecret\": \"put the Client secret here\",\n \"accessToken\": \"\
curl -i -X POST \
  https://api-v2.dash.app/external-app-accounts \
  -H 'Authorization: Bearer <YOUR_JWT_HERE>' \
  -H 'Content-Type: application/json' \
  -d '{
    "externalAppAccountId": "put the Shopify domain here",
    "appName": "SHOPIFY",
    "connectionPayload": "{\n  \"type\": \"SHOPIFY\",\n  \"clientId\": \"put the Client ID here\",\n  \"clientSecret\": \"put the Client secret here\",\n  \"accessToken\": \"\"\n}\n"
  }'

Responses

Success

Response
No content