How to share address book?

Sharing address books has never been easy

Arrange Data

Arrange data in the format

{
    "toId": "string"
    "book": number
    "access": "READ" | "READWRITE"
}

Generate & Sign Message

Call this API to get the message

Generate message for sharing address book

post
/address-books/request/message
Authorizations
secret-keystringRequired
Body
idintegerOptional
bookintegerRequired
tostringOptional
accessstring Β· enumRequiredPossible values:
pendingbooleanOptionalDefault: true
acceptedbooleanOptionalDefault: false
createdAtstring Β· date-timeOptional
updatedAtstring Β· date-timeRequired
Responses
200

Successful response

application/json
post
/address-books/request/message

Sign the above message by following signature guidelines mentioned here according to the chain you are using

Call API

Create address book request

post
/address-books/request
Authorizations
secret-keystringRequired
Body
idintegerOptional
signaturestringOptional
bookintegerRequired
tostringOptional
accessstring Β· enumRequiredPossible values:
pendingbooleanOptionalDefault: true
acceptedbooleanOptionalDefault: false
createdAtstring Β· date-timeOptional
updatedAtstring Β· date-timeRequired
Responses
200

Successful response

application/json
post
/address-books/request

Websockets & Webhooks

Coming soon...

Last updated