Step by Step Guide (V 0.1)
Intro - What is the blessed API solution
We offer you an easy to use REST API that abstracts away all the web3 complexity and allows any web developer to create their own ticketing solution.
Besides that we are working on a no-code interface where you can build your custom ticketing via an easy to use interface. Atm you can just create via the interface your developer account and the app.
For the rest you need to use still the APIs endpoints but we will have a full blown no code builder soonish, no worries.
Step by Step Guide
This is a step by step guide to show you how to interact with directly with our endpoints.
1. Create a dev account first
Go to the login at https://blessed.fan
Add the developer mail in the logon modal .
Check your mailbox for the one time code.
Verify your account by adding the one time code top the modal.
Congrats you created your developer account.
2. Create an app
After you logged into our builder start filling out the Create App modal. Pick a name and a description for your Application. Note that the app name you selected will be also part of your future API URL.
You will get redirected to the API key page
3. Create the API Key
Here all you have to do is click the create new token button.
Use the copy the key button on the right of your now displayed API key. Click the link of API docs and check our endpoints out witch which you can start interacting using your API Key.
4. Set your global variables
Navigate to https://docs.blessed.fan and then to the endpoint [developers]/login
Navigate there and press run
Now you can navigate to the upper right part of the APIdogs interface and check to the kind of hidden global variables part. The URL was carrying the info you needde and updated this API management tool for you.
Now you are good to interact with APIDogs and try out the various endpoints.
5. Create your ticket
Go then to the endpoint [application]/[applicationID]/[tickets]/deploy
Navigate there and press send
See the response body
6. Create user of your app
Go then to the endpoint [application]/[applicationID]/[users]/login
Add the user mail addresses of any user you want to create for your app in the /login
endpoint and press send
Pass in body tab the correct email address
Check is the info “verification code is send” is shown
Take the verification code and navigate to /verify
and add it there, this one time code can be fetched from the developer mail address
7. Send free tickets to users
Go then to the endpoint [application]/[applicationID]/[users]/distribute
Add the user mail addresses of any user you want to send a free ticket to. Think of a guestlist where you can define the guest with their mail and you can assign them a from you defined amount of free tickets.
Pass in body tab the correct email addresses and the amount.
Note is the user was not created yet we create user accounts for them on the back so that the onboarding experience is fast and smooth.