SimpleDock Agent signup API

For AI agents whose person has no account: create one, set it up, and have the person confirm their email. The full procedure is at /auth.md.

GitHub OpenAPI

Operations 4

POST /agent/signup Create an account for the person an agent works for #
GET /agent/account Whether the owner has confirmed their email #
POST /agent/account/verify Confirm the owner's email with the six-digit code (REST) #
POST /agent/account/resend-verification Send the owner a new confirmation email #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/simpledock-ai:simpledock-ai-agent-signup-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

simpledock-ai-agent-signup-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: SimpleDock Agent signup API
  version: 1.0.0
  summary: Dock appointment scheduling for warehouses, distribution centers, and 3PLs.
  description: 'Read availability and create or manage dock appointments programmatically.


    Authenticate with an API key as a Bearer token (`Authorization: Bearer sd_live_…`), created in Settings → API on any plan. Endpoints under `/public` and `POST /agent/signup` need no key: an agent with no account can create one (see /auth.md).


    Every non-2xx response is `{ "error": { "code", "message", "details"? } }`. Codes are stable — branch on `error.code`, never on the message text.


    Typical flow: `listLocations` → `listAppointmentTypes` → `listAvailability` → `createAppointment`. The same operations are exposed as MCP tools at `/api/v1/mcp`.


    **Pacing.** Every response carries `RateLimit-Policy` and `RateLimit` (draft-ietf-httpapi-ratelimit-headers structured fields); a 429 adds `Retry-After`. Authenticated: 120 requests per 60s per key. Unauthenticated: 60 per 60s per IP.


    **Stability.** The version is in the URL path. 180 days'' notice before a version is retired, signalled by `Deprecation` (RFC 9745) and `Sunset` (RFC 8594) response headers and `deprecated: true` on affected operations. Policy: https://simpledock.ai/developers/versioning'
  termsOfService: https://simpledock.ai/terms-of-service
  contact:
    name: SimpleDock support
    email: support@simpledock.ai
    url: https://simpledock.ai/contact
  license:
    name: Proprietary
    url: https://simpledock.ai/terms-of-service
servers:
- url: https://simpledock.ai/api/v1
  description: Production
security:
- bearerAuth: []
tags:
- name: Agent signup
  description: 'For AI agents whose person has no account: create one, set it up, and have the person confirm their email. The full procedure is at /auth.md.'
paths:
  /agent/signup:
    post:
      tags:
      - Agent signup
      operationId: agentSignup
      summary: Create an account for the person an agent works for
      description: Unauthenticated. Creates the person's account, organization, and first location, and returns an OAuth token pair that works right away on the MCP server and the account endpoints. SimpleDock emails the person a confirmation link and a six-digit code. They confirm by clicking the link, or a REST agent that already has the code POSTs it to /agent/account/verify. The signup access token (sd_at_) refreshes with sd_rt_, so this does not need an API key. Until they confirm, the account contacts nobody outside it (no appointment email or SMS, no search indexing, no invites). Unconfirmed accounts are deleted after 7 days. Limited to 5 signups per hour per IP.
      security: []
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AgentSignupRequest'
      responses:
        '201':
          description: Account created
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/AgentSignupResult'
                required:
                - data
        '400':
          description: Invalid field (see details), or a disposable email address
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: A plan limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: details.reason = account_exists (connect over OAuth instead) or registration_pending (an agent already started one; the confirmation email was re-sent)
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many signups — retry after Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
  /agent/account:
    get:
      tags:
      - Agent signup
      operationId: getAgentAccount
      summary: Whether the owner has confirmed their email
      description: Poll at most once a minute while waiting for the person to confirm.
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    $ref: '#/components/schemas/AccountStatus'
                required:
                - data
        '401':
          description: Missing, invalid, or expired token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Payment required — a Pro feature or a Free plan limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — key is missing the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — slow down and retry after Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
  /agent/account/verify:
    post:
      tags:
      - Agent signup
      operationId: verifyAgentAccount
      summary: Confirm the owner's email with the six-digit code (REST)
      description: Confirm the owner's email with the six-digit code from the confirmation email (REST agents). People can instead click the link. Five wrong codes lock the email; resend to get a new one. Confirming an account an agent created also emails the owner a link to set their password. Not available over MCP.
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              properties:
                code:
                  type: string
                  pattern: ^\d{6}$
                  description: The six-digit code from the confirmation email.
                  example: 042917
              required:
              - code
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    allOf:
                    - $ref: '#/components/schemas/AccountStatus'
                    - type: object
                      properties:
                        message:
                          type: string
                required:
                - data
        '400':
          description: Wrong or expired code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '401':
          description: Missing, invalid, or expired token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Payment required — a Pro feature or a Free plan limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — key is missing the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '409':
          description: Too many wrong codes — resend the email for a new code
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limited — slow down and retry after Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
  /agent/account/resend-verification:
    post:
      tags:
      - Agent signup
      operationId: resendAgentAccountVerification
      summary: Send the owner a new confirmation email
      description: Earlier links and codes stop working. Limited to 5 per hour.
      responses:
        '200':
          description: Success
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      message:
                        type: string
                required:
                - data
        '401':
          description: Missing, invalid, or expired token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '402':
          description: Payment required — a Pro feature or a Free plan limit
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Forbidden — key is missing the required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Too many emails — retry after Retry-After
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
          headers:
            RateLimit-Policy:
              description: Standing quota, e.g. `"api-key";q=120;w=60`.
              schema:
                type: string
            RateLimit:
              description: Remaining quota and reset, e.g. `"api-key";r=118;t=57`.
              schema:
                type: string
            Retry-After:
              description: Seconds to wait before retrying.
              schema:
                type: integer
components:
  schemas:
    AccountStatus:
      type: object
      properties:
        email:
          type: string
        emailVerified:
          type: boolean
        organization:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            verified:
              type: boolean
        locations:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              name:
                type: string
              slug:
                type: string
              bookingPageUrl:
                type: string
                format: uri
        pendingUntilVerified:
          type: array
          items:
            type: string
        deletesAt:
          type:
          - string
          - 'null'
          format: date-time
        nextAction:
          type:
          - object
          - 'null'
          description: What to ask the person to do next. Null once their email is confirmed. The message tells them to click the link; it does not include a code.
          properties:
            action:
              type: string
              enum:
              - confirm_email
            message:
              type: string
          required:
          - action
          - message
        verificationEmailSentAt:
          type:
          - string
          - 'null'
          format: date-time
          description: When the latest confirmation email was sent. Null if none has been sent.
    AgentSignupResult:
      type: object
      properties:
        registrationId:
          type: string
        status:
          type: string
          enum:
          - pending_verification
        account:
          type: object
          properties:
            email:
              type: string
            name:
              type:
              - string
              - 'null'
        organization:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            verified:
              type: boolean
        location:
          type: object
          properties:
            id:
              type: string
            name:
              type: string
            slug:
              type: string
            timezone:
              type: string
            bookingPageUrl:
              type: string
              format: uri
        credentials:
          type: object
          description: An RFC 6749 token response. Refresh at token_endpoint with client_id.
          properties:
            access_token:
              type: string
            token_type:
              type: string
              enum:
              - Bearer
            expires_in:
              type: integer
            refresh_token:
              type: string
            scope:
              type: string
            token_endpoint:
              type: string
              format: uri
            client_id:
              type: string
        mcp:
          type: object
          properties:
            url:
              type: string
              format: uri
            authorization:
              type: string
        verification:
          type: object
          properties:
            email:
              type: string
            emailSent:
              type: boolean
            expiresAt:
              type: string
              format: date-time
            instructions:
              type: string
            verifyEndpoint:
              type: string
              format: uri
            resendEndpoint:
              type: string
              format: uri
        pendingUntilVerified:
          type: array
          items:
            type: string
        deletesAt:
          type: string
          format: date-time
        nextSteps:
          type: array
          items:
            type: string
    Error:
      type: object
      properties:
        error:
          type: object
          properties:
            code:
              type: string
            message:
              type: string
            details: {}
          required:
          - code
          - message
    AgentSignupRequest:
      type: object
      required:
      - email
      - organizationName
      - location
      properties:
        email:
          type: string
          format: email
          description: The person's own work email. They must read it to finish.
        name:
          type: string
          maxLength: 100
        organizationName:
          type: string
          maxLength: 100
        location:
          type: object
          required:
          - name
          - timezone
          properties:
            name:
              type: string
              maxLength: 100
            address:
              type: string
            city:
              type: string
            state:
              type: string
            zip:
              type: string
            country:
              type: string
              description: Two-letter ISO country code, e.g. US or AU
            timezone:
              type: string
              description: IANA timezone, e.g. America/Chicago
        source:
          type: string
          maxLength: 40
          description: Your agent's name, shown to the person in the email.
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: Your API key (sd_live_…), or the access token agent signup returned (sd_at_…, on /agent/account only). Create keys in Settings → API. A platform credential (sd_plat_…) is for the Platform endpoints and for organization endpoints. SimpleDock issues it, and it is not self-serve. A platform credential names the organization in the SimpleDock-Organization header. An organization key ignores it.
externalDocs:
  description: SimpleDock developer documentation
  url: https://simpledock.ai/developers
x-api-lifecycle:
  currentVersion: v1
  versioningScheme: url-path
  minimumDeprecationNoticeDays: 180
  deprecationSignals:
  - Deprecation
  - Sunset
  - Link; rel="successor-version"
  policyUrl: https://simpledock.ai/developers/versioning
  additiveChanges:
  - New endpoints and new optional request parameters
  - New fields on an existing response object
  - New enum values on a field already documented as extensible
  - New optional headers
  breakingChanges:
  - Removing or renaming an endpoint, field, or enum value
  - Making an optional request parameter required
  - Changing a field's type or the meaning of an existing value
  - Tightening validation so a previously accepted request is rejected
x-rate-limits:
  headers:
  - RateLimit
  - RateLimit-Policy
  - Retry-After
  specification: draft-ietf-httpapi-ratelimit-headers
  policies:
  - name: api-key
    quota: 120
    windowSeconds: 60
    keyedOn: api-key
  - name: public
    quota: 60
    windowSeconds: 60
    keyedOn: client-ip