Skip to main content
POST

Authorizations

Authorization
string
header
required

For partners. Send your partner key as a bearer token: Authorization: Bearer <your partner key>. It starts with wgt_prt_ and you make it in your partner's home workspace, under Settings → API keys; any other key is refused with 403. See API keys and Partners.

Path Parameters

partnerId
string<uuid>
required

The partner that keeps the address

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.