Namespaces
List namespace portal links
Lists links newest first without their tokens. Only organization-wide callers may list links.
GET
Lists links newest first without their tokens. Only organization-wide callers may list links.
apiKeyheader
x-api-key<token>id*stringMatch
^ns_[0-9a-hjkmnp-tv-z]{16,24}$limit?|nullcursor?stringNamespacePortalLinkPage
application/json- response
items*array<>nextCursor*string|nullimport { createClient } from "samva";
const samva = createClient({ apiKey: process.env.SAMVA_API_KEY! });
const result = await samva.namespaces.listPortalLinks({
"id": "example"
});Example Response
{
"items": [
{
"id": "string",
"organizationId": "string",
"namespaceId": "string",
"createdBy": "string",
"expiresAt": "string",
"revokedAt": "string",
"redirectUrl": "string",
"metadata": {
"property1": "string",
"property2": "string"
},
"createdAt": "string"
}
],
"nextCursor": "string"
}