---
updatedAt: 2025-06-05T21:44:14.000Z
agentTools:
  projectIndex: https://developer.surveypal.com/llms.txt
---

# /shorturl/{id}

Get details of the short url.

Get details of the certain short url.

```curl
curl -i -X GET \
   -H "Authorization: Basic YOUR-USERNAME-AND-TOKEN-BASE64-ENCODED" \
   -H "Accept:application/json" \
 'https://my.surveypal.com/api/rest/shorturl/:id'
```

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "api-settings",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://my.surveypal.com/api/rest"
    }
  ],
  "components": {
    "securitySchemes": {
      "sec0": {
        "type": "http",
        "scheme": "basic"
      }
    }
  },
  "security": [
    {
      "sec0": []
    }
  ],
  "paths": {
    "/shorturl/{id}": {
      "get": {
        "summary": "/shorturl/{id}",
        "description": "Get details of the short url.",
        "operationId": "shorturl-read",
        "parameters": [
          {
            "name": "id",
            "in": "path",
            "description": "Short url id.",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Result": {
                    "value": "{\n  id: 123141,\n  targetUrl: \"...\",\n  url: \"https://srvp.al/f23g\"\n}"
                  }
                }
              }
            }
          }
        },
        "deprecated": false
      }
    }
  },
  "x-readme": {
    "headers": [
      {
        "key": "Accept",
        "value": "application/json"
      },
      {
        "key": "Content-Type",
        "value": "application/json"
      }
    ],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```