The lob template allows sending postcards to users. A Lob account is required to use this template. To use the lob template, only the “Auth Header Value” needs to be provided. It is similar to the delighted template. Copy the api_key (which can be found on the lob website once you are logged in) and add a “:” to the end of it. Encode the api key along with the “:” using a Base64 encoder. Add this after “Basic ” in the “Auth Header Value” field. For example, if your API key is “7tb6ZeX2FDFQKxZARoMNB1haXGjo3IID”, then you need to encode “7tb6ZeX2FDFQKxZARoMNB1haXGjo3IID:” in a base64 encoder. This gives you “N3RiNlplWDJGREZRS3haQVJvTU5CMWhhWEdqbzNJSUQ6”. Put this in the “Auth Header Value” field, which will be “Basic N3RiNlplWDJGREZRS3haQVJvTU5CMWhhWEdqbzNJSUQ6”.
For more information about the Lob API, visit: https://lob.com/docs/node#postcards_create