Share Profile LInk

This API is to share users profile link to anyone using email


GRAPHQL


Headers

FieldsTypeDescriptionExampleData Management
URLstring{base_url}/users
GRAPHQLstringQUERY
content-typestringJSONapplication/json
x-access-tokenstringsession token with validitytokenuser token

Request

{
  share_qr_link(email: "johndoe@gmail.com") {
    message
  }
}

Request Parameters

FieldsTypeDescriptionRequired
emailstringemail address to share the profile link

Success

{
    "data": {
        "share_qr_link": {
            "message": "QR link Shared"
        }
    }
}

Error

{
    "errors": [
        {
            "message": "Unauthorized",
            "locations": [
                {
                    "line": 2,
                    "column": 3
                }
            ],
            "path": ["share_qr_link"]
        }
    ],
    "data": {
        "share_qr_link": null
    }
}