> ## Documentation Index
> Fetch the complete documentation index at: https://docs.didit.me/llms.txt
> Use this file to discover all available pages before exploring further.

# बैच फ़ोन सत्यापन फ़ीडबैक API

> Didit के साथ एक कॉल में 1,000 तक फ़ोन सत्यापन परिणाम भेजें और हर भेजे गए आइटम का परिणाम उसी अनुरोध क्रम में पाएँ।

Didit का Phone Feedback API एक ही अनुरोध में 1,000 तक सत्यापन परिणाम स्वीकार करता है। हर आइटम के लिए [एकल-परिणाम फ़ीडबैक](https://docs.didit.me/hi/standalone-apis/phone-feedback.md) वाले ही फ़ील्ड इस्तेमाल होते हैं। हर आइटम में एक सत्यापन, फ़ोन नंबर या ईमेल का उल्लेख होता है, उसका परिणाम होता है, और वैकल्पिक रूप से एक इवेंट, विश्वास स्कोर और घटना का समय होता है। एकल फ़ीडबैक की तरह, केवल वही आइटम उस नंबर के लिए बाद में भेजे जाने वाले अनुरोधों को बदलता है जो कोई सत्यापन या फ़ोन नंबर बताता है; केवल `email` वाला आइटम रिकॉर्ड होता है और कोई स्कोर नहीं बदलता।

प्रतिक्रिया `207` है, जिसमें हर आइटम के लिए उसी क्रम में एक परिणाम होता है, ताकि कोई अमान्य आइटम बाकी आइटमों को न हटाए।


## OpenAPI

````yaml hi/openapi-25.json POST /v3/phone/feedback/batch/
openapi: 3.0.0
info:
  version: 3.0.0
  title: Didit Verification API
  description: Identity verification API. Authenticate with x-api-key header.
servers:
  - url: https://verification.didit.me
security: []
tags:
  - name: Bank Data
    description: >-
      Bank Link, connections, accounts, balances, transactions, institutions and
      coverage. One-time reads of real banks are open to live applications.
      Ongoing access with real banks is not open yet for live applications: it
      is available for sandbox applications with the Didit Test Bank, and opens
      country by country. Nothing is charged in sandbox. A call made with an API
      key needs a key that can reach Bank data: a full-access key can, and a
      scoped key needs `bank-data` in its scopes (read for reads, write for
      operations that change something). A scoped key without it is refused, and
      the call answers `403 bank_data_access_denied`. The account check is the
      exception: it needs write access to sessions, or full access, and not the
      Bank data scope. Raw bank data (accounts, balances, transactions and the
      change feed) also refuses a request that carries no API key.


      Every refusal under `/v3/bank/` except the account check's has the same
      JSON body (`code`, `message`, `request_id`, `field`, `next_action`,
      `retry_after`). A path that is not an operation, an id that is not a UUID
      or an unknown sub-resource answers `404 not_found` for every method, and
      any unexpected error answers `500 internal_error` with a `request_id`.
      Where Bank data is not available, every operation answers the platform's
      standard `404`, exactly as an unknown route does.
paths:
  /v3/phone/feedback/batch/:
    post:
      tags:
        - Phone
      summary: Report up to 1,000 outcomes at once
      description: >-
        Report up to 1,000 outcomes at once. The answer is `207 Multi-Status`:
        one result per item, in order, with `accepted` or `rejected` and why.
        Recorded items are counted in `accepted`. An item that names a
        verification or a phone number is used by that number's fraud rules from
        its next send; an `email`-only item changes no score.
      operationId: postPhoneFeedbackBatch
      parameters:
        - $ref: '#/components/parameters/IdempotencyKey'
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/PhoneFeedbackBatchRequest'
            example:
              items:
                - verification_id: c9b18621-9f8f-4590-a3b4-f8ebea4baa7d
                  outcome: fraud
                  event: chargeback
                  confidence: high
                  occurred_at: '2026-11-20T18:40:00Z'
      responses:
        '207':
          description: One result per item.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/PhoneFeedbackBatchResponse'
              example:
                accepted: 1
                results:
                  - index: 0
                    status: accepted
                    error: null
        '400':
          description: >-
            `too_many_items`: more than 1,000 items. `empty_batch`: items is
            empty.
        '401':
          description: 'The key is wrong, revoked or expired: `{"detail": ...}`.'
        '403':
          description: >-
            The `x-api-key` header is missing, or the key is scoped and does not
            carry write access to `sessions`: the answer is `{"detail": ...}`.
        '429':
          $ref: '#/components/responses/RateLimitedWrite'
      security:
        - ApiKeyAuth: []
      x-codeSamples:
        - lang: curl
          label: curl
          source: >-
            curl -X POST
            'https://verification.didit.me/v3/phone/feedback/batch/' \
              -H 'x-api-key: YOUR_API_KEY' \
              -H 'Content-Type: application/json' \
              -d '{
                "items": [
                  {
                    "verification_id": "c9b18621-9f8f-4590-a3b4-f8ebea4baa7d",
                    "outcome": "fraud",
                    "event": "chargeback",
                    "confidence": "high",
                    "occurred_at": "2026-11-20T18:40:00Z"
                  }
                ]
              }'
components:
  parameters:
    IdempotencyKey:
      name: Idempotency-Key
      in: header
      required: false
      description: >-
        Optional retry-safety key you choose for one operation, up to 255
        characters (a UUID works). A request repeated with the same key,
        endpoint, query and body is answered with the first response, same
        status and same body, and runs and bills nothing a second time. The same
        key with another endpoint, query or body returns `409`
        `idempotency_key_reused`, and while the first request is still running,
        `409` `idempotency_key_in_progress` with `Retry-After`. A failed request
        (any `4xx` or `5xx`) is not stored, so you can send it again with the
        same key. Keys belong to your application, whether you call with an API
        key or an access token. See [Retries and
        idempotency](/integration/api-errors#retries-and-idempotency).
      schema:
        type: string
        minLength: 1
        maxLength: 255
  schemas:
    PhoneFeedbackBatchRequest:
      type: object
      properties:
        items:
          type: array
          items:
            $ref: '#/components/schemas/PhoneFeedbackBatchItem'
          description: Up to 1,000 outcomes.
          minItems: 1
          maxItems: 1000
      description: Outcomes to report.
      required:
        - items
      example:
        items:
          - verification_id: c9b18621-9f8f-4590-a3b4-f8ebea4baa7d
            outcome: fraud
            event: chargeback
            confidence: high
    PhoneFeedbackBatchResponse:
      type: object
      properties:
        accepted:
          type: integer
          description: >-
            Items recorded. Those that name a verification or a phone number are
            used by that number's fraud rules from its next send; an
            `email`-only item changes no score.
          example: 1
        results:
          type: array
          items:
            type: object
            properties:
              index:
                type: integer
                description: The item's place in items.
                example: 0
              status:
                type: string
                description: accepted or rejected.
                enum:
                  - accepted
                  - rejected
                example: accepted
              error:
                type: string
                description: Why it was rejected.
                nullable: true
          description: One result per item, in the same order.
    PhoneFeedbackBatchItem:
      type: object
      properties:
        verification_id:
          type: string
          description: The verification, by the `verification_id` the send returned.
          example: c9b18621-9f8f-4590-a3b4-f8ebea4baa7d
          format: uuid
        phone_number:
          type: string
          description: Or the number.
          example: '+34600000012'
        email:
          type: string
          description: Or the email address.
          example: user@example.com
        outcome:
          type: string
          description: fraud, legitimate, converted or abuse.
          enum:
            - fraud
            - legitimate
            - converted
            - abuse
          example: fraud
        event:
          type: string
          description: Your own label, for abuse.
          example: chargeback
        confidence:
          type: string
          description: low, medium or high.
          enum:
            - low
            - medium
            - high
          example: high
        occurred_at:
          type: string
          description: When it happened, ISO 8601.
          format: date-time
          example: '2026-11-20T18:40:00Z'
      required:
        - outcome
      description: >-
        Send at least one of `verification_id`, `phone_number` or `email`: with
        none of them the answer is `target_required`.
    RateLimitBudgetError:
      type: object
      description: >-
        Returned only for a rate-limit middleware budget refusal. Other 429
        errors, including idempotency conflicts and endpoint-specific caps, do
        not promise these metadata fields.
      required:
        - detail
        - reference
        - limit
        - remaining
        - reset
        - window_seconds
      properties:
        detail:
          type: string
          description: Existing human-readable budget refusal message.
        reference:
          type: string
          pattern: ^RL-[0-9a-f]{32}$
          description: >-
            Opaque support reference: RL- followed by 32 lowercase UUID
            hexadecimal characters.
        limit:
          type: integer
          description: Budget for the exceeded scope; equals X-RateLimit-Limit.
        remaining:
          type: integer
          minimum: 0
          description: Remaining budget, clamped to zero; equals X-RateLimit-Remaining.
        reset:
          type: integer
          format: int64
          description: Window reset time in Unix seconds; equals X-RateLimit-Reset.
        window_seconds:
          type: integer
          description: >-
            Fixed-window duration in seconds, not the remaining wait. Honor
            Retry-After before retrying.
      example:
        detail: >-
          Write request rate limit exceeded. You can make up to 300 requests per
          minute.
        reference: RL-00000000000040008000000000000001
        limit: 300
        remaining: 0
        reset: 1794358860
        window_seconds: 60
  responses:
    RateLimitedWrite:
      description: >-
        The shared write limit of 300 requests per minute per API key was
        exceeded. Honor `Retry-After` before retrying.
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RateLimitBudgetError'
          example:
            detail: >-
              Write request rate limit exceeded. You can make up to 300 requests
              per minute.
            reference: RL-00000000000040008000000000000001
            limit: 300
            remaining: 0
            reset: 1794358860
            window_seconds: 60
      headers:
        Retry-After:
          $ref: '#/components/headers/BudgetRetryAfter'
        X-RateLimit-Scope:
          $ref: '#/components/headers/BudgetXRateLimitScope'
        X-RateLimit-Limit:
          $ref: '#/components/headers/BudgetXRateLimitLimit'
        X-RateLimit-Remaining:
          $ref: '#/components/headers/BudgetXRateLimitRemaining'
        X-RateLimit-Reset:
          $ref: '#/components/headers/BudgetXRateLimitReset'
  headers:
    BudgetRetryAfter:
      description: >-
        Seconds to wait, rounded up to the next window. Present on middleware
        budget refusals.
      schema:
        type: integer
    BudgetXRateLimitScope:
      description: >-
        The scope whose budget was exceeded. Present on middleware budget
        refusals.
      schema:
        type: string
    BudgetXRateLimitLimit:
      description: >-
        Budget for the exceeded scope; equals body limit. Present on middleware
        budget refusals.
      schema:
        type: integer
    BudgetXRateLimitRemaining:
      description: >-
        Remaining budget, clamped to zero; equals body remaining. Present on
        middleware budget refusals.
      schema:
        type: integer
    BudgetXRateLimitReset:
      description: >-
        Reset time in Unix seconds; equals body reset. Present on middleware
        budget refusals.
      schema:
        type: integer
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: >-
        Your application's API key, from Developers -> API keys in the Business
        Console. The primary key has full access. A named key can be scoped:
        none, read or write per resource, limited to some workflows or to
        approved sessions, to a list of IP addresses, and to an expiry date. 401
        means the key is wrong, revoked or expired; 403 means no key was sent,
        the key has no access to this resource or action, or the request came
        from an address outside its IP list; 404 on a session route means the
        session is outside the key's workflows or statuses. A key without media
        access receives image, video and PDF URLs as null, and a key without
        sessions write receives session links and tokens as null. See
        https://docs.didit.me/console/api-keys.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.