---
updatedAt: 2026-11-12T11:23:10.000Z
agentTools:
  projectIndex: https://docs.decentro.tech/llms.txt
---

# Verify Mobile

> 🙌 Important Note
>
> Please use only **Staging Credentials** on each API Reference page to test the APIs directly from our Documentation.

### API Endpoints

| Environment       | Endpoint                                                        |
| :---------------- | :-------------------------------------------------------------- |
| Staging / Sandbox | <https://in.staging.decentro.tech/v2/kyc/sso/digilocker/verify> |
| Production        | <https://in.decentro.tech/v2/kyc/sso/digilocker/verify>         |

# OpenAPI definition

```json
{
  "openapi": "3.1.0",
  "info": {
    "title": "decentro-staging",
    "version": "1.0"
  },
  "servers": [
    {
      "url": "https://in.staging.decentro.tech"
    }
  ],
  "security": [
    {}
  ],
  "paths": {
    "/v2/kyc/sso/digilocker/verify": {
      "post": {
        "summary": "Verify Mobile",
        "description": "",
        "operationId": "digilocker-verify-mobile",
        "parameters": [
          {
            "name": "client_id",
            "in": "header",
            "description": "ID/identifier that is provided by Decentro to a specific client and environment. Please note, this may change based on the environment you are on.",
            "required": true,
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "client_secret",
            "in": "header",
            "description": "The confidential credential provided by Decentro that is associated with the client_id",
            "required": true,
            "schema": {
              "type": "string"
            }
          }
        ],
        "requestBody": {
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "required": [
                  "consent",
                  "purpose",
                  "reference_id",
                  "mobile"
                ],
                "properties": {
                  "consent": {
                    "type": "boolean",
                    "description": "true/false based on the consent given by the customer. Mandatory as per regulation.",
                    "default": false
                  },
                  "purpose": {
                    "type": "string",
                    "description": "The purpose of taking this consent from your customer. Mandatory as per regulation. (>20 characters)"
                  },
                  "reference_id": {
                    "type": "string",
                    "description": "Any unique ID assigned by you for this API request."
                  },
                  "mobile": {
                    "type": "string",
                    "description": "The 10 digit mobile number of the user."
                  }
                }
              },
              "examples": {
                "Success": {
                  "value": {
                    "consent": true,
                    "purpose": "for banking purpose only",
                    "reference_id": "ABCDEF12345",
                    "mobile": "9999999999"
                  }
                }
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "200",
            "content": {
              "application/json": {
                "examples": {
                  "Success": {
                    "value": "{\n    \"decentroTxnId\": \"XXXXXXXXXXXX\",\n    \"status\": \"SUCCESS\",\n    \"responseCode\": \"S00000\",\n    \"message\": \"Account verified successfully.\",\n    \"data\": {\n        \"accountExists\": true\n    },\n    \"responseKey\": \"success_account_verify\"\n}"
                  }
                },
                "schema": {
                  "type": "object",
                  "properties": {
                    "decentroTxnId": {
                      "type": "string",
                      "example": "XXXXXXXXXXXX"
                    },
                    "status": {
                      "type": "string",
                      "example": "SUCCESS"
                    },
                    "responseCode": {
                      "type": "string",
                      "example": "S00000"
                    },
                    "message": {
                      "type": "string",
                      "example": "Account verified successfully."
                    },
                    "data": {
                      "type": "object",
                      "properties": {
                        "accountExists": {
                          "type": "boolean",
                          "example": true,
                          "default": true
                        }
                      }
                    },
                    "responseKey": {
                      "type": "string",
                      "example": "success_account_verify"
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "x-readme": {
    "headers": [],
    "explorer-enabled": true,
    "proxy-enabled": true
  },
  "x-readme-fauxas": true
}
```