> For clean Markdown of any page, append .md to the page URL.
> For a complete documentation index, see https://schedule-docs.moxieservices.com/llms.txt.
> For AI client integration (Claude Code, Cursor, etc.), connect to the MCP server at https://schedule-docs.moxieservices.com/_mcp/server.

# Resume a draft

GET https://api.moxie.com/v1/signup/{signupId}

Reference: https://schedule-docs.moxieservices.com/api-reference/customer-signup/get-signup

## Authentication

- `X-Link-Token` header (required) — Random token from createSignup or the resume link. Stored hashed; expires.

## Servers

- `https://api.moxie.com` (Production (placeholder hostname), default)
- `https://api-dev.moxie.com` (Dev, FieldRoutes sandbox (placeholder hostname))

## Request

### Path parameters

- `signupId` (string, required)

## Response

### 200

OK

- `id` (string, optional) — Server-generated.
- `officeId` (string, optional)
- `step` (enum, optional) — Furthest step reached; drives abandoned-cart metrics.
  - Allowed values: `address`, `property`, `contact`, `services`, `agreement`, `payment`, `appointment`, `complete`
- `address` (Address, optional)
- `property` (PropertyDetails, optional) — Drives square-footage pricing. The customer can edit looked-up values.
- `contact` (Contact, optional)
- `pestIds` (list of string, optional)
- `planId` (string, optional)
- `addOnIds` (list of string, optional) — Worked out by the server: the add-ons of chosen pests the plan doesn't cover.
- `appointment` (Appointment, optional)
- `smsConsent` (boolean, optional)
- `discountCode` (string, optional)
- `quote` (Quote, optional) — Frozen price. Order Complete is rejected with price_changed if the catalog moved since.
- `state` (enum, optional) — See the signup lifecycle in data-model.md.
  - Allowed values: `draft`, `processing`, `awaiting_appointment`, `complete`, `failed`, `payment_declined`, `slot_unavailable`, `expired`
- `updatedAt` (datetime, optional)

## Errors

### 404 Not Found Error

Unknown signup or wrong link token (not_found). The two are deliberately indistinguishable.

- `code` (enum, required) — Every code the API returns, with its HTTP status, is listed in research R12.
  - Allowed values: `validation_failed`, `unauthenticated`, `forbidden`, `not_found`, `link_expired`, `version_conflict`, `duplicate`, `unresolved_overlaps`, `price_changed`, `quote_expired`, `item_unavailable`, `locked_after_redemption`, `zip_not_serviced`, `existing_customer`, `discount_not_applicable`, `idempotency_mismatch`, `invalid_state`, `rate_limited`, `processor_rejected`, `fieldroutes_unavailable`, `job_timeout`, `internal_error`, `service_unavailable`
- `message` (string, required) — Plain-language message the UI can show.
- `fieldErrors` (list of ErrorFieldErrorsItems, optional)
- `details` (ErrorDetails, optional) — Extra data for some codes, e.g. the new quote for price_changed.
- `requestId` (string, optional) — Same value as the X-Request-Id response header; quote it to support. Present on every API error response (0.9.3); may be absent on a job's error.

### 410 Gone Error

Resume link expired (link_expired).

- `code` (enum, required) — Every code the API returns, with its HTTP status, is listed in research R12.
  - Allowed values: `validation_failed`, `unauthenticated`, `forbidden`, `not_found`, `link_expired`, `version_conflict`, `duplicate`, `unresolved_overlaps`, `price_changed`, `quote_expired`, `item_unavailable`, `locked_after_redemption`, `zip_not_serviced`, `existing_customer`, `discount_not_applicable`, `idempotency_mismatch`, `invalid_state`, `rate_limited`, `processor_rejected`, `fieldroutes_unavailable`, `job_timeout`, `internal_error`, `service_unavailable`
- `message` (string, required) — Plain-language message the UI can show.
- `fieldErrors` (list of ErrorFieldErrorsItems, optional)
- `details` (ErrorDetails, optional) — Extra data for some codes, e.g. the new quote for price_changed.
- `requestId` (string, optional) — Same value as the X-Request-Id response header; quote it to support. Present on every API error response (0.9.3); may be absent on a job's error.

### 429 Too Many Requests Error

Too many requests (rate_limited).

- `code` (enum, required) — Every code the API returns, with its HTTP status, is listed in research R12.
  - Allowed values: `validation_failed`, `unauthenticated`, `forbidden`, `not_found`, `link_expired`, `version_conflict`, `duplicate`, `unresolved_overlaps`, `price_changed`, `quote_expired`, `item_unavailable`, `locked_after_redemption`, `zip_not_serviced`, `existing_customer`, `discount_not_applicable`, `idempotency_mismatch`, `invalid_state`, `rate_limited`, `processor_rejected`, `fieldroutes_unavailable`, `job_timeout`, `internal_error`, `service_unavailable`
- `message` (string, required) — Plain-language message the UI can show.
- `fieldErrors` (list of ErrorFieldErrorsItems, optional)
- `details` (ErrorDetails, optional) — Extra data for some codes, e.g. the new quote for price_changed.
- `requestId` (string, optional) — Same value as the X-Request-Id response header; quote it to support. Present on every API error response (0.9.3); may be absent on a job's error.

### 500 Internal Server Error

Unexpected server error (internal_error). Quote the requestId to support.

- `code` (enum, required) — Every code the API returns, with its HTTP status, is listed in research R12.
  - Allowed values: `validation_failed`, `unauthenticated`, `forbidden`, `not_found`, `link_expired`, `version_conflict`, `duplicate`, `unresolved_overlaps`, `price_changed`, `quote_expired`, `item_unavailable`, `locked_after_redemption`, `zip_not_serviced`, `existing_customer`, `discount_not_applicable`, `idempotency_mismatch`, `invalid_state`, `rate_limited`, `processor_rejected`, `fieldroutes_unavailable`, `job_timeout`, `internal_error`, `service_unavailable`
- `message` (string, required) — Plain-language message the UI can show.
- `fieldErrors` (list of ErrorFieldErrorsItems, optional)
- `details` (ErrorDetails, optional) — Extra data for some codes, e.g. the new quote for price_changed.
- `requestId` (string, optional) — Same value as the X-Request-Id response header; quote it to support. Present on every API error response (0.9.3); may be absent on a job's error.

### 503 Service Unavailable Error

A required service such as the database or queue is temporarily unavailable (service_unavailable). Retry later.

- `code` (enum, required) — Every code the API returns, with its HTTP status, is listed in research R12.
  - Allowed values: `validation_failed`, `unauthenticated`, `forbidden`, `not_found`, `link_expired`, `version_conflict`, `duplicate`, `unresolved_overlaps`, `price_changed`, `quote_expired`, `item_unavailable`, `locked_after_redemption`, `zip_not_serviced`, `existing_customer`, `discount_not_applicable`, `idempotency_mismatch`, `invalid_state`, `rate_limited`, `processor_rejected`, `fieldroutes_unavailable`, `job_timeout`, `internal_error`, `service_unavailable`
- `message` (string, required) — Plain-language message the UI can show.
- `fieldErrors` (list of ErrorFieldErrorsItems, optional)
- `details` (ErrorDetails, optional) — Extra data for some codes, e.g. the new quote for price_changed.
- `requestId` (string, optional) — Same value as the X-Request-Id response header; quote it to support. Present on every API error response (0.9.3); may be absent on a job's error.

## Types

### Address

- `line1` (string, required)
- `city` (string, required)
- `state` (string, required)
- `zip` (string, required)
- `line2` (string, optional)

### PropertyDetails

Drives square-footage pricing. The customer can edit looked-up values.

- `homeSqft` (integer, required)
- `propertyType` (enum, required)
  - Allowed values: `house`, `commercial`, `mixed_use`, `other`
- `source` (enum, required) — lookup = filled by the external property data API from the address; manual = entered by the customer.
  - Allowed values: `lookup`, `manual`
- `additionalInfo` (string, optional) — Optional free text from the customer about the property.

### Contact

- `firstName` (string, optional)
- `lastName` (string, optional)
- `email` (string, optional)
- `phone` (string, optional)

### Appointment

- `date` (date, required)
- `slot` (enum, required)
  - Allowed values: `am`, `pm`

### Quote

Frozen price. Order Complete is rejected with price_changed if the catalog moved since.

- `quoteId` (string, required)
- `catalogVersion` (string, required)
- `lines` (list of QuoteLine, required)
- `initialTotalCents` (integer, required) — Amount in US cents.
- `recurringTotalCents` (integer, required) — Amount in US cents.
- `recurringPeriod` (enum, required)
  - Allowed values: `per_service`, `per_month`
- `termsVersion` (string, optional)
- `discountCode` (string, optional)
- `expiresAt` (datetime, optional)

### ErrorFieldErrorsItems

- `field` (string, required) — JSON path, e.g. pricing.initialCents
- `message` (string, required)

### ErrorDetails

Extra data for some codes, e.g. the new quote for price_changed.

### QuoteLine

- `kind` (enum, required)
  - Allowed values: `plan`, `addon`, `discount`
- `label` (string, required)
- `initialCents` (integer, required) — Negative for discounts.
- `recurringCents` (integer, required) — Negative for discounts.
- `refId` (string, optional)

## Examples

**Response**

```json
{
  "id": "string",
  "officeId": "string",
  "step": "address",
  "address": {
    "line1": "string",
    "city": "string",
    "state": "string",
    "zip": "string",
    "line2": "string"
  },
  "property": {
    "homeSqft": 1,
    "propertyType": "house",
    "source": "lookup",
    "additionalInfo": "string"
  },
  "contact": {
    "firstName": "string",
    "lastName": "string",
    "email": "string",
    "phone": "string"
  },
  "pestIds": [
    "string"
  ],
  "planId": "string",
  "addOnIds": [
    "string"
  ],
  "appointment": {
    "date": "2023-01-15",
    "slot": "am"
  },
  "smsConsent": true,
  "discountCode": "string",
  "quote": {
    "quoteId": "string",
    "catalogVersion": "string",
    "lines": [
      {
        "kind": "plan",
        "label": "string",
        "initialCents": 1,
        "recurringCents": 1,
        "refId": "string"
      }
    ],
    "initialTotalCents": 1,
    "recurringTotalCents": 1,
    "recurringPeriod": "per_service",
    "termsVersion": "string",
    "discountCode": "string",
    "expiresAt": "2024-01-15T09:30:00Z"
  },
  "state": "draft",
  "updatedAt": "2024-01-15T09:30:00Z"
}
```

**SDK Code**

```python
import requests

url = "https://api.moxie.com/v1/signup/signupId"

headers = {"X-Link-Token": "<apiKey>"}

response = requests.get(url, headers=headers)

print(response.json())
```

```javascript
const url = 'https://api.moxie.com/v1/signup/signupId';
const options = {method: 'GET', headers: {'X-Link-Token': '<apiKey>'}};

try {
  const response = await fetch(url, options);
  const data = await response.json();
  console.log(data);
} catch (error) {
  console.error(error);
}
```

```go
package main

import (
	"fmt"
	"net/http"
	"io"
)

func main() {

	url := "https://api.moxie.com/v1/signup/signupId"

	req, _ := http.NewRequest("GET", url, nil)

	req.Header.Add("X-Link-Token", "<apiKey>")

	res, _ := http.DefaultClient.Do(req)

	defer res.Body.Close()
	body, _ := io.ReadAll(res.Body)

	fmt.Println(res)
	fmt.Println(string(body))

}
```

```ruby
require 'uri'
require 'net/http'

url = URI("https://api.moxie.com/v1/signup/signupId")

http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true

request = Net::HTTP::Get.new(url)
request["X-Link-Token"] = '<apiKey>'

response = http.request(request)
puts response.read_body
```

```java
import com.mashape.unirest.http.HttpResponse;
import com.mashape.unirest.http.Unirest;

HttpResponse<String> response = Unirest.get("https://api.moxie.com/v1/signup/signupId")
  .header("X-Link-Token", "<apiKey>")
  .asString();
```

```php
<?php
require_once('vendor/autoload.php');

$client = new \GuzzleHttp\Client();

$response = $client->request('GET', 'https://api.moxie.com/v1/signup/signupId', [
  'headers' => [
    'X-Link-Token' => '<apiKey>',
  ],
]);

echo $response->getBody();
```

```csharp
using RestSharp;

var client = new RestClient("https://api.moxie.com/v1/signup/signupId");
var request = new RestRequest(Method.GET);
request.AddHeader("X-Link-Token", "<apiKey>");
IRestResponse response = client.Execute(request);
```

```swift
import Foundation

let headers = ["X-Link-Token": "<apiKey>"]

let request = NSMutableURLRequest(url: NSURL(string: "https://api.moxie.com/v1/signup/signupId")! as URL,
                                        cachePolicy: .useProtocolCachePolicy,
                                    timeoutInterval: 10.0)
request.httpMethod = "GET"
request.allHTTPHeaderFields = headers

let session = URLSession.shared
let dataTask = session.dataTask(with: request as URLRequest, completionHandler: { (data, response, error) -> Void in
  if (error != nil) {
    print(error as Any)
  } else {
    let httpResponse = response as? HTTPURLResponse
    print(httpResponse)
  }
})

dataTask.resume()
```