Skip to main content

exportKeys

GET 

https://locksmith.unlock-protocol.com/v2/api/:network/locks/:lockAddress/export-keys

Starts Job process to get all the keys for the given lock

Request

Path Parameters

    network integerrequired

    Network id.

    lockAddress stringrequired

    Lock address.

Query Parameters

    query stringrequired

    Query you want to search for.

    filterKey stringrequired

    The key you want to search on.

    expiration string

    Expiration time

    approval string

    Approval status (relevant for offchain approvals on events for example)

Responses

Successfully started Keys Job

Schema
    jobIdstring

Authorization: http

name: Usertype: httpscheme: bearerbearerFormat: JWT
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://locksmith.unlock-protocol.com/v2/api/:network/locks/:lockAddress/export-keys");
request.Headers.Add("Accept", "application/json");
request.Headers.Add("Authorization", "Bearer <token>");
var response = await client.SendAsync(request);
response.EnsureSuccessStatusCode();
Console.WriteLine(await response.Content.ReadAsStringAsync());
Request Collapse all
Base URL
https://locksmith.unlock-protocol.com
Auth
Parameters
— pathrequired
— pathrequired
— queryrequired
— queryrequired
— query
— query
ResponseClear

Click the Send API Request button above and see the response here!