How to accept address book request?

Accepting request to address book

Arrange Data

Arrange data in the format

{
    "id": number, // request id
}

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

Update address book request

patch
/address-books/request
Authorizations
secret-keystringRequired
Body
signaturestringOptional
idintegerOptional
Responses
200

Successful response

application/json
patch
/address-books/request

Last updated