Skip to content

List Namespaces

GET /api/namespaces

This endpoint returns all owned namespaces.

Example

Request

sh
curl --request GET \
     --url https://api.mailisk.com/api/namespaces \
     --header 'Accept: application/json' \
     --header 'X-Api-Key: {Api Key}'

Response

json
{
  "total_count": 1,
  "data": [
    {
      "id": "67f3dcb7-a707-422b-a907-5da53f026fe3",
      "namespace": "test"
    }
  ]
}

Request

None.

Response

Typescript type

ts
interface Namespace {
  /** Unique UUID for namespace */
  id: string;
  /** Name */
  name: string;
}