Bulk upload of links

POST https://api-sandbox.slimlinkdev.com/api/public/links/bulk

This endpoint allows you to load 10000 links in one request. Rate-limited per account on a per-second and per-minute basis; responses include X-RateLimit-* headers.

Request body

[
    {
        "long_url": "https://example.com",
        "domain_id": "f34fb1a7-3418-4705-a9e9-61e9175661ca",
        "path": "my-custom-link",
        "title": "Example Title",
        "team": "team123",
        "external_id": "12345",
        "expired_at": "2025-12-31T23:59:59Z"
    }
]

Responses

200 Successful operation
401 Unauthorized
422 Validation error
429 Rate limit exceeded for this account

Example response · 200

{
    "data": {
        "id": "06a447a7-5734-48b0-9dab-021576f0e0d1",
        "path": "zgdssgd",
        "shortUrl": "https://short.link/zgdssgd",
        "longUrl": "https://example.com/",
        "title": "example",
        "domain": "06a447a7-5734-48b0-9dab-021576f0e0d1",
        "tags": [],
        "totalNumberOfClick": 0,
        "createdAt": "2024-01-01T00:00:00Z",
        "updatedAt": "2024-01-01T00:00:00Z",
        "expiredAt": "2024-01-01T00:00:00Z"
    },
    "error_code": 0,
    "message": "Request successful"
}