X Contacts

List contacts

Filter and list all contacts. Supports filtering by name, email, phone number, reference ID, and active status.

get/contacts

Request

  • Base URL
    https://api.razorpay.com/v1
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization codehttps://mcp.razorpay.com/authorize
      Client credentials
      Token URLhttps://mcp.razorpay.com/token
      Scopesread_only
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Query parameters

namestring

Filter by contact name (partial match supported).

emailstring

Filter by contact email address.

contactstring

Filter by contact phone number.

reference_idstring

Filter by your unique reference ID for the contact (max 40 chars).

frominteger

Unix timestamp filter

tointeger

Unix timestamp. Only contacts created before this timestamp are returned.

countinteger

Number of contacts to return. Default: 10. Maximum: 100.

skipinteger

Number of contacts to skip. Use for pagination. Default: 0.

Response

List of contacts

entitystring
countinteger

Changes

No recorded changes to this operation across all 1 revision of this API.