Skip to content

Bind an externalUserId to an existing license key

POST
/v1/licensing/bind
curl --request POST \
--url https://api.extport.dev/api/v1/licensing/bind \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "extensionId": "example", "key": "example", "externalUserId": "example" }'

Associates a user account in your backend with a license purchased while logged out. Idempotent when already bound to the same externalUserId.

Media typeapplication/json
object
extensionId
required
string
>= 1 characters <= 64 characters
key
required
string
>= 1 characters <= 64 characters
externalUserId
required
string
>= 1 characters <= 255 characters
Examplegenerated
{
"extensionId": "example",
"key": "example",
"externalUserId": "example"
}

Bound; returns current entitlement

License is revoked

Extension or license not found

License is already bound to a different externalUserId