Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Connects an account to a track in dialogportal™

Endpoint ID:1007
Method:

Status
colourGreen
titlePOST

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
Span
stylewhite-space:pre
Response body:

JSON data with information about the newly created connection

Code Block
titleExample – 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