---
title: "API for generating sites URL"
method: POST
path: "/v2/businesses/generateUrl"
tags: ["Businesses"]
---

# API for generating sites URL

`POST /v2/businesses/generateUrl`

API for generating short lived session IDs, session ID should expire 5 days from created date

## Request body

- object
  - `businessUuid` string, required

## Response `201`

- object
  - `url` string, required
  - `expiryDate` string, required

## Other responses

- `400` — Bad Request Error - Thrown if fields sent via query does not follow specifications
- `401` — Unauthorized
- `403` — Forbidden - Not enough permission
- `404`
- `500` — Server Error

---

[API](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api.md) · [All operations](https://skmtc.net/railz/apis/fis-accounting-data-as-a-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/railz/fis-accounting-data-as-a-service-api/revisions/5cdfae3fa1fa/schema)
