Skip to main content

Get an endpoint by ID

get/v1/endpoints/{id}

Request​

Authorization

  • Authorizationstringheaderrequired

    Key in the format Bearer <API-key>. Create a key on the API keys page.

Path Parameters

  • id integer<int64>required

Response

    aliasstring

    Alias

    Example: postgres
    created_atstring<date-time>

    Creation date

    hostnamestring

    Hostname

    Example: ru.tuna.am
    idinteger<int64>

    Identifier

    Example: 42
    last_tunnels object[]

    Recent tunnels. Kept for compatibility; use GET /v1/endpoints/{id}/tunnels

  • Array [
  • addressstring

    Address

    Example: 5432
    command_namestring

    Command

    Possible values: [tcp, sshd, postgres, redis, mysql]

    Example: postgres
  • ]
  • locationstring

    Location: ru, nl, or global for a port in a cell zone, which doesn't need one

    Possible values: [ru, nl, global]

    Example: ru
    owner object
    activeboolean

    Active flag

    avatar_urlstring

    Avatar

    Example: https://www.gravatar.com/avatar/00000000000000000000000000000000
    emailstring

    Email

    Example: jane@example.com
    idinteger<int64>

    Identifier

    Example: 42
    namestring

    Name

    Example: Jane Doe
    rolestring

    Role

    Possible values: [primary_owner, owner, admin, member]

    Example: member
    portinteger<uint32>

    Port

    Possible values: <= 65535

    Example: 20001
    provisioned_bystring

    What created or modified the object: terraform means the Terraform provider, empty means another client

    typestring

    Endpoint type

    Possible values: [dynamic, static]

    Example: static