Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 3 Next »

Connects an account to a track in dialogportal™

Endpoint ID:1007
Method:

POST

URL:

/user/dp-key/{dp-key}/tracks/{track-id}

/user/ext-key/{ext-key}/{ext-type}/tracks/{track-id}

 

 

dp-key  

dialogportal™ master key that uniquely identifies account to connect with specified track

 ext-key

External key that uniquely identifies account to connect with specified track

 ext-typeType of external key
 track-idID of track to connect account with
Request body:None

Response body:

JSON data with information about the newly created connection

Example – Account with dialogportal™ master key 12345 was just successfully connected to track with 397:
{
	"dpKey": 12345,
	"trackID": 397,
	"name": "Name of track",
	"type": "…",
	"connected": true
}
Status codes:201

Connection created successfully

 303

Account is already connected to the specified track

 404

Account was not found or track was not found

  • No labels