Get Email Links

Changed on
get/misc/email_link

Request

  • Base URL
    https://dc-region.zuperpro.com/api
  • URL
    https://dc-region.zuperpro.com/api/misc/email_link
  • Auth
    API key in header x-api-key

Query parameters

pageinteger required
countinteger required
sort'"ASC"' | '"DESC"'
sort_by'"link_name"' | '"created_at"'

Response

200

typestring
total_recordsinteger
current_pageinteger
total_pagesinteger

Example response

{
  "type": "success",
  "data": [
    {
      "link_uid": "f46c75b6-e3d8-4bc5-9974-5d02507a7103",
      "link_name": "Google",
      "link_description": "Google website",
      "link_redirect_to": "www.google.com",
      "link_action": "SEND_MAIL",
      "is_active": true,
      "created_by": {
        "user_uid": "b9c91ee7-850f-47b7-b2cd-a6b78f4254d3",
        "first_name": "Tom",
        "last_name": "R",
        "email": "tom.r@zuper.co",
        "designation": "Admin",
        "emp_code": "001",
        "profile_picture": "https://s3.ap-south-1.amazonaws.com/staging.in.pro.zuper/attachments/4ddf3f-19ed-4b56-81cc-70d0bdf628c5/ea2602d9-0379-4ffb-a2c0-916dc2558c56.JPG",
        "is_active": true,
        "created_at": "2024-06-14T07:34:28.000Z",
        "updated_at": "2024-09-18T04:03:31.000Z"
      },
      "created_at": "2024-09-20T05:44:14.413Z",
      "updated_at": "2024-09-20T05:44:14.425Z",
      "id": "undefined"
    }
  ],
  "total_records": 1,
  "current_page": 1,
  "total_pages": 1
}

Changes