Skip to main content
POST
TypeScript SDK

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

userId
string<uuid>
required

The account that keeps the address. For your own, your own user id

adapterId
string
required

The adapter the address is for

Maximum string length: 40
credentialKey
string
required

The credential's name within the adapter

Maximum string length: 40

Body

application/json
code
string
required

The digits of the code Widgetic emailed to the address, with nothing else. It works for 30 minutes and for five wrong tries; after that, save the address again and a new code is emailed

Maximum string length: 32
Example:

"123456"

Response

The address is confirmed (or was already)

success
boolean
required
data
object
required

A key an adapter can take from an account, and whether the account has connected it. The key itself is never part of this: it is given once, when it is connected, and Widgetic keeps it encrypted.

Example:
meta
object

Extra information about the answer: where a page sits in a list, the cursor of the next page, or warnings about a call that succeeded with a caveat.