---
title: "Set on-demand match notice phone number"
method: POST
path: "/participant-pools/{participantPoolId}/items/{id}/actions/set-on-demand-match-notice-phone-number"
tags: ["Items - Actions"]
---

# Set on-demand match notice phone number

`POST /participant-pools/{participantPoolId}/items/{id}/actions/set-on-demand-match-notice-phone-number`

## Request

- Base URL: `https://rest.api.pactima.com/v1`
- URL: `https://rest.api.pactima.com/v1/participant-pools/{participantPoolId}/items/{id}/actions/set-on-demand-match-notice-phone-number`
- Auth: HTTP bearer

Set the phone number used to notify the schedule setter participant when an
on-demand match is found.

This action is performed by a participant designated as a schedule setter
(`scheduling.scheduleSetterParticipantsIds`), authenticated via the participant
pool schedule setter token.

## Request body

- object
  - `onDemandMatchNoticePhoneNumber` string, required: Phone number to notify the signer when an on-demand match is found

## Response `200`

Phone number set successfully. Returns the updated pool item.

- ParticipantPoolItem: An item in a participant pool representing a specific request or assignment
  - `id` string: Unique identifier for the participant pool item
  - `participantPoolId` string, required: ID of the participant pool this item belongs to
  - `status` 'DRAFT' | 'AWAITING_TAGGING' | 'AWAITING_PARTICIPANT_PREFERENCE' | 'REQUEST_SENT_TO_ENROLLEES' | 'MATCHED' | 'STALE' | 'CANCELLED' | 'COMPLETED', required: Current status of a participant pool item
  - `linkedObject` ParticipantPoolItemLinkedObject: Object linked to a participant pool item
    - `objectId` string, required: Identifier of the linked object
    - `kind` 'E_SIGNATURE_PACKAGE', required: Type of object linked to the participant pool item
    - `linkedParticipantId` string: ID of the linked participant in the object (e.g. signer id)
    - `displayName` string, nullable: Derived from the linked object's name (e.g. the eSignaturePackage title) at response time. Decorated by the items listEmbed/listSearch path via a batched lookup; null when the underlying object is missing/deleted. Read-only -- the write path's `sanitizeLinkedObject` strips it.
  - `scheduling` ParticipantPoolItemScheduling: Scheduling configuration for a participant pool item
    - `dateType` 'FIXED' | 'DATE_RANGE', required: Type time preference for the participant pool item
    - `schedulingMode` 'PRE_SCHEDULED' | 'ON_DEMAND', required: Matching mechanism for scheduling participants
    - `startDate` string, date-time: Earliest date of availability
    - `endDate` string, date-time: Latest possible date for the item
    - `timezone` string: Timezone for scheduling (e.g. 'America/New_York')
    - `duration` integer: Duration of the meeting in minutes
    - `scheduleSetterParticipantsIds` string[]: IDs of the participants who can set the schedule. Use ['ALL'] to designate all participants as schedule setters.
    - `scheduleSetterParticipantsMetadata` object: Per-participant metadata for schedule setters, keyed by participant ID. Each value contains metadata specific to that schedule setter.
    - `queueForTagging` boolean: Whether the item should be queued for tagging
    - `bid` ParticipantPoolItemSchedulingBid: Bidding configuration for participant pool item scheduling
      - `maxPrice` number: Maximum price willing to pay for the scheduling slot
      - `currency` string: Currency code for the price (e.g., USD, EUR)
      - `allowCounterBidding` boolean: Whether counter bidding is allowed for this scheduling bid
      - `cancellationFee` number: Fee for cancelling the scheduling bid
    - `counterBids` ParticipantPoolItemSchedulingCounterBid[]: Counter bids for this scheduling item
      - `id` string: Unique identifier for the counter bid
      - `counter` ParticipantPoolItemSchedulingBid, required: Bidding configuration for participant pool item scheduling
        - `maxPrice` number: Maximum price willing to pay for the scheduling slot
        - `currency` string: Currency code for the price (e.g., USD, EUR)
        - `allowCounterBidding` boolean: Whether counter bidding is allowed for this scheduling bid
        - `cancellationFee` number: Fee for cancelling the scheduling bid
      - `status` 'PENDING' | 'ACCEPTED' | 'REJECTED', required: Status of a counter bid for participant pool item scheduling
      - `publicId` string: Public identifier of the counter bidder
      - `name` string: Name of the counter bidder
      - `email` string: Email of the counter bidder
      - `createdAt` string, date-time: Timestamp when the counter bid was created
      - `updatedAt` string, date-time: Timestamp when the counter bid was last updated
      - `respondedAt` string, date-time: Timestamp when the counter bid was accepted or rejected
    - `availabilities` ParticipantPoolAvailability[]: Availabilities set by the schedule setter participant for this item
      - `startDate` string, date-time, required: Start date and time of the availability
      - `durationInMinutes` integer, required: Duration of the availability in minutes
    - `allowedDwellTimeMinutes` number: Dwell time window for ON_DEMAND immediate availability. This is the amount of time that an on-demand item can be collected by an enrollee after the immediate availability notification from the schedule setter
    - `stillSearchingEnabled` boolean: Per-item override of the pool's advancedOptions.stillSearchingEnabled. When omitted, the pool default is inherited.
  - `ownershipRegistry` ParticipantPoolItemOwnershipRegistryItem[]: Registry of owners for this item
    - `role` 'OWNER' | 'ADMIN' | 'ENROLLEE' | 'ASSIGNER' | 'TAGGER', required: Role of a member within the participant pool
    - `publicId` string, required: Public identifier of the owner
    - `timestamp` string, date-time: When this ownership change occurred
    - `reason` string: Optional reason for the ownership change
  - `enrolleeResponses` ParticipantPoolItemEnrolleeResponse[]: Tracked responses from enrollees to this pool item request
    - `userId` string: ID of the enrollee who responded
    - `response` 'ACCEPT' | 'REJECT' | 'IGNORE': Response from an enrollee to a pool item request
    - `date` string, date-time: Timestamp when the response was recorded
  - `assignmentRules` ParticipantPoolItemAssignmentRule[]
    - `ruleId` string
    - `metadata` unknown

## Other responses

- `400`: Bad request. Possible reasons: - Pool item scheduling mode is not `ON_DEMAND` - Phone number is invalid
- `403`: Requester is not the schedule setter participant for this item
- `404`: Pool item not found

---

[API](https://skmtc.dev/pactima/apis/participant-pools-api.md) - [All operations](https://skmtc.dev/pactima/apis/participant-pools-api/llms.txt) - [OpenAPI document](https://skmtc.dev/pactima/apis/participant-pools-api/revisions/43bdfd66fa8c?raw)
