description |
---|
Retrieves E2E keys of logged in user |
URL | Requires Auth | HTTP Method |
---|---|---|
api/v1/e2e.fetchMyKeys |
YES |
GET |
Argument | Example | Required | Description |
---|---|---|---|
X-User-Id |
myuser-id |
Required | User Id retuned from api login. |
X-Auth-Token |
myauth-token |
Required | Your token (returned after you log in through the API) |
curl --location --request POST 'http://localhost:3000/api/v1/e2e.fetchMyKeys\
--header 'X-Auth-Token: myauth-token' \
--header 'X-User-Id: myumser-id'
{
"success": true
}
The following error can occur upon the endpoint.
- Authorization: Requires an authentication token for the request to be made.
{% tabs %} {% tab title=" Authorization" %}
{
"success": false,
"error": "unauthorized"
}
{% endtab %} {% endtabs %}