Share Profile LInk
This API is to share users profile link to anyone using email
GRAPHQL
Headers
| Fields | Type | Description | Example | Data Management |
|---|---|---|---|---|
| URL | string | {base_url}/users | ||
| GRAPHQL | string | QUERY | ||
| content-type | string | JSON | application/json | |
| x-access-token | string | session token with validity | token | user token |
Request
{
share_qr_link(email: "johndoe@gmail.com") {
message
}
}
Request Parameters
| Fields | Type | Description | Required |
|---|---|---|---|
| string | email 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
}
}