getCustomEmailContent
GEThttps://locksmith.unlock-protocol.com/v2/email/:network/locks/:lockAddress/custom/:template
Get custom email content for a specific template and lock details
Request
Responses
- 200
- 401
- 404
- 500
Successfully get custom template content
User is not authenticated.
Custom email content not found for this template.
Could not get custom email content.
Authorization: http
name: Usertype: httpscheme: bearerbearerFormat: JWT
- csharp
- curl
- dart
- go
- http
- java
- javascript
- kotlin
- c
- nodejs
- objective-c
- ocaml
- php
- powershell
- python
- r
- ruby
- rust
- shell
- swift
- HTTPCLIENT
- RESTSHARP
var client = new HttpClient();
var request = new HttpRequestMessage(HttpMethod.Get, "https://locksmith.unlock-protocol.com/v2/email/:network/locks/:lockAddress/custom/:template");
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());
ResponseClear