โ๏ธUtility Integration
Getting Started
Step 1: Register As Client
To initiate the login process and receive an OTP, send a POST request to the authentication endpoint. The OTP will be sent to the email address you provide.
This call triggers the server to send an OTP to the provided email address. Check your email for the OTP code.
Body
emailstringOptionalExample:
[email protected]
Responses
201
Client created successfully
application/json
500
Internal server error
application/json
post
Step 2: Verify Client
Once you receive the OTP, verify it by sending another POST request to the same endpoint. This request should include both your email address and the OTP you received.
Body
emailstringOptionalExample:
[email protected]
otpstringOptionalExample:
123456
Responses
200
OTP verified successfully, returns API key
application/json
401
OTP verification failed
application/json
post
Response:
If the OTP is verified successfully, the response will include your API key:
Use this API key for all subsequent API calls by including it in the header of your requests.
Last updated
Was this helpful?