Using the above arranged identity, generate a message using the below endpoint and sign it using default address by following guide for respective chains
Generate Message
post
/identity/generate-message
Authorizations
secret-keystringRequired
Body
idstringRequired
identifierstringRequired
providerstringRequired
currentSignaturestringOptional
previousSignaturestringOptional
Responses
200Success
application/json
400Error
application/json
401Error
application/json
post
/identity/generate-message
After generating message, you need to sign message using appropriate functions for respective chains, check our guide for each blockchain here
Create Identity
After signing the message, add the generated signature in the arranged identity, at currentSignature
Now, data should look something like this
Call Create Identity API
Important Note
If default chain is APTOS, then while calling this API, swap default address with public key of the same address, so that we can easily verify signatures
Create Identity
post
/identity
Authorizations
secret-keystringRequired
Body
idstringRequired
identifierstringRequired
providerstringRequired
currentSignaturestringOptional
previousSignaturestringOptional
Responses
200Success
application/json
400Error
application/json
401Error
application/json
post
/identity
Identity should now be created, if faced with any error, check our troubleshooting guide or ask in our discord