Create a new Cloud Connections resource to connect to a cloud storage providers and import assets into Dash
Security
bearerToken
- Productionhttps://api-v2.dash.app/cloud-connections
- Staginghttps://api-v2.dashstaging.app/cloud-connections
- DROPBOX
curl -i -X POST \
https://api-v2.dash.app/cloud-connections \
-H 'Authorization: Bearer <YOUR_JWT_HERE>' \
-H 'Content-Type: application/json' \
-d '{
"type": "GOOGLE",
"authorizationCode": "e2b03444-8c5d-44ed-bd9f-7eee882bdf81",
"redirectUri": "https://auth.dash.app/cloud-connect"
}'Response
- DROPBOX
{ "result": { "type": "GOOGLE", "id": "e2b03444-8c5d-44ed-bd9f-7eee882bdf81", "accountId": "cfb665ca-ce35-4418-b9d5-70ee815db4bd", "creatorId": "google-oauth2|110955770826801837334", "email": "john.smith@gmail.com", "name": "John Smith", "picture": "https://example.com/john-smith-picture.jpg" }, "permittedActions": [ { … } ] }