---
raw: true
search:
  tags:
    - Partner
    - GET
seo:
  description: >-
    wp.cloud site-alias add. Attaches… Reference for the GET
    /v0/atomic-api/site-alias/{service}/{identifier}/add/{domain} endpoint in
    the Spacefast Partner API.
sidebar:
  label: Add a site alias
  badge: GET
title: Add a site alias
type: openapi-operation
---
wp.cloud site-alias add. Attaches the domain and syncs it to the site asynchronously. Adding a domain the site already has is not an error.

`GET /v0/atomic-api/site-alias/{service}/{identifier}/add/{domain}`

**Responses**

- `200` — Response for status 200
- `default` — wp.cloud error envelope. \`message\` explains the failure. \`data\` is the Spacefast problem document, with its stable \`code\`.

Response example, 200:

```json
{
  "message": "string",
  "data": {
    "domains": [
      "string"
    ]
  }
}
```
