Skip to content

Get connection id by name

Request

Retrieves the specified connection.

Security
ApiKeyAuth
Query
namestring(name)required
curl -i -X GET \
  'https://api.treasuredata.com/v3/connections/lookup?name=string' \
  -H 'Authorization: TD1 <YOUR_TOKEN_HERE>'

Responses

OK

Bodyapplication/json
idinteger(ConnectionId)required

the connection id

Example:17
Response
{ "id": 17 }