---
updatedAt: 2026-09-17T18:26:06.000Z
agentTools:
  projectIndex: https://developer.doit.com/llms.txt
---

# Get a signup request

Returns the current state of a signup request. Poll at the returned pollAfterSeconds cadence; once status is completed the response carries customerId, consoleUrl and signInUrl. The response never includes the requester's email or the verification code. A browser must send the Signup-Result-Token returned by verifySignupRequest to read results after email verification. Without it, the request remains pending until its consent window expires. Agents may read results after the matching authenticated human explicitly approves their request.

# OpenAPI definition

```json
{
  "openapi": "3.0.1",
  "info": {
    "title": "DoiT Cloud Intelligence",
    "description": "Programmatic access to DoiT Platform",
    "version": "v1"
  },
  "servers": [
    {
      "url": "https://api.doit.com"
    }
  ],
  "security": [
    {
      "api_key": []
    },
    {
      "tenantId": [],
      "api_key": []
    }
  ],
  "tags": [
    {
      "name": "Signup",
      "description": "Start a Cloud Intelligence trial for an organization that is not yet a DoiT customer. These operations require no API key: they are rate limited, idempotent, and provision nothing until the organization's admin verifies the request. Agents create a request and hand the returned consentUrl to the admin; the admin verifies by entering the emailed code (or signing the request on the console), after which the tenant is provisioned and the request reports its customer id."
    }
  ],
  "paths": {
    "/signup/v1/requests/{signupRequestId}": {
      "get": {
        "tags": [
          "Signup"
        ],
        "summary": "Get a signup request",
        "description": "Returns the current state of a signup request. Poll at the returned pollAfterSeconds cadence; once status is completed the response carries customerId, consoleUrl and signInUrl. The response never includes the requester's email or the verification code. A browser must send the Signup-Result-Token returned by verifySignupRequest to read results after email verification. Without it, the request remains pending until its consent window expires. Agents may read results after the matching authenticated human explicitly approves their request.",
        "operationId": "getSignupRequest",
        "security": [],
        "parameters": [
          {
            "$ref": "#/components/parameters/signupRequestId"
          },
          {
            "name": "Signup-Result-Token",
            "in": "header",
            "required": false,
            "schema": {
              "type": "string",
              "description": "Request-bound result credential returned after successful email verification; valid for one hour."
            }
          }
        ],
        "responses": {
          "200": {
            "description": "OK",
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/SignupRequest"
                }
              }
            }
          },
          "404": {
            "description": "No signup request exists with this id.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SignupProblem"
                }
              }
            }
          },
          "429": {
            "description": "Rate limited; retry after the Retry-After header.",
            "content": {
              "application/problem+json": {
                "schema": {
                  "$ref": "#/components/schemas/SignupProblem"
                }
              }
            }
          }
        }
      }
    }
  },
  "components": {
    "schemas": {
      "SignupVerification": {
        "type": "object",
        "description": "Present while the request awaits the emailed code.",
        "properties": {
          "required": {
            "type": "boolean"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time"
          },
          "resendAfterSeconds": {
            "type": "integer"
          },
          "sendsRemaining": {
            "type": "integer"
          }
        }
      },
      "SignupRequest": {
        "type": "object",
        "description": "Redacted public view of a signup request. Never includes the admin email, the verification code or the idempotency key.",
        "required": [
          "id",
          "status"
        ],
        "properties": {
          "id": {
            "type": "string",
            "description": "Public request id (sr_ prefix); an unguessable capability."
          },
          "status": {
            "type": "string",
            "enum": [
              "pending_consent",
              "consented",
              "provisioning",
              "completed",
              "rejected",
              "expired",
              "failed"
            ]
          },
          "channel": {
            "type": "string",
            "enum": [
              "agent",
              "console",
              "web"
            ]
          },
          "companyName": {
            "type": "string",
            "description": "Company name supplied at signup; shown on the console verification and completion pages."
          },
          "consentUrl": {
            "type": "string",
            "format": "uri",
            "description": "Page where the organization's admin verifies the request (pending_consent only)."
          },
          "activationToken": {
            "type": "string",
            "description": "Returned once, by the verifySignupRequest call that performed the verification. Redeem it with createSignupSession after the request is completed."
          },
          "resultToken": {
            "type": "string",
            "description": "Returned only by successful verifySignupRequest. Send as Signup-Result-Token when polling this request to read its result. Valid for one hour; never returned by create, replay, resend or GET."
          },
          "verification": {
            "$ref": "#/components/schemas/SignupVerification"
          },
          "expiresAt": {
            "type": "string",
            "format": "date-time",
            "description": "When an unverified request expires (pending_consent only)."
          },
          "pollAfterSeconds": {
            "type": "integer",
            "description": "Suggested polling interval while the request is not terminal."
          },
          "customerId": {
            "type": "string",
            "description": "The provisioned tenant (completed only)."
          },
          "consoleUrl": {
            "type": "string",
            "format": "uri"
          },
          "signInUrl": {
            "type": "string",
            "format": "uri",
            "description": "Page where the admin signs into the new tenant (completed only)."
          },
          "tier": {
            "type": "string",
            "description": "Trial tier name (trial)."
          },
          "trialEndDate": {
            "type": "string",
            "format": "date-time"
          },
          "nextSteps": {
            "type": "array",
            "items": {
              "type": "string"
            }
          },
          "reason": {
            "type": "object",
            "description": "Why a terminal request did not complete.",
            "properties": {
              "code": {
                "type": "string"
              },
              "detail": {
                "type": "string"
              },
              "retryable": {
                "type": "boolean"
              }
            }
          }
        }
      },
      "SignupProblem": {
        "type": "object",
        "description": "RFC 9457 problem details for the Signup operations.",
        "required": [
          "type",
          "title",
          "status",
          "code",
          "retryable"
        ],
        "properties": {
          "type": {
            "type": "string",
            "format": "uri"
          },
          "title": {
            "type": "string"
          },
          "status": {
            "type": "integer"
          },
          "detail": {
            "type": "string"
          },
          "code": {
            "type": "string",
            "description": "Machine-readable problem code (see each response description)."
          },
          "retryable": {
            "type": "boolean"
          },
          "signupRequestId": {
            "type": "string",
            "description": "The already-pending request for this domain (signup_already_pending)."
          },
          "signInUrl": {
            "type": "string",
            "format": "uri",
            "description": "Where an existing DoiT user or customer should sign in instead."
          },
          "appealUrl": {
            "type": "string",
            "format": "uri",
            "description": "Where a blocked signup (code signup_blocked) can ask DoiT to review the decision."
          }
        }
      }
    },
    "parameters": {
      "signupRequestId": {
        "name": "signupRequestId",
        "in": "path",
        "required": true,
        "description": "Public signup request id (sr_ prefix).",
        "schema": {
          "type": "string",
          "pattern": "^sr_[0-9a-f]{32}$"
        }
      }
    },
    "securitySchemes": {
      "api_key": {
        "type": "apiKey",
        "name": "Authorization",
        "description": "Use the \"Bearer <API_KEY>\" format or sign in for autofill",
        "in": "header"
      },
      "tenantId": {
        "type": "apiKey",
        "name": "X-Tenant-Id",
        "description": "Customer (tenant) ID for the request. Separate from your API token: always authenticate with `Authorization: Bearer <token>` (personal or service account). See [Get Started](https://developer.doit.com/docs/start). Omit when your token is scoped to a single customer (resolved automatically). A service account can select an active direct or nested descendant of its home customer; the endpoint's normal permissions, entitlements, and resource-ownership checks still apply. A service-account target outside that customer subtree returns `403 Forbidden`. Prefer this header over the legacy `customerContext` query parameter, which only applies to legacy API keys and is ignored by personal and service account tokens.",
        "in": "header"
      }
    }
  },
  "x-samples-languages": [
    "curl",
    "go",
    "node",
    "python"
  ],
  "x-cli-config": {
    "security": "oauth2",
    "params": {
      "client_id": "cli"
    }
  }
}
```