This instance couldn't reach its API specification on the last attempt, so this page shows the copy fetched before that. Anything added or changed since then is missing here, and the reference updates itself as soon as the specification is readable again. Last fetched 2026-12-03 02:35 UTC.
Only a member of Wink host staff at a signed-in session who holds the registrations manage
permission can call it, after a fresh sign-in. A caller without that permission is refused with
403 Forbidden. A caller who holds it but is not Wink host staff, whatever their role, or who
calls with an API key, whoever owns it, is refused with
`WinkPG.PartnerLaunch:HostStaffOnly`. The key authenticates as the named owner, holds the
`partner:users` scope, plus `partner:events` when `includeSecurityEvents` is
`true`, and is accepted only from the listed source addresses. The issue is audited and
reported to the partner.
Signed in, you can send this request to your own sandbox merchant from the console
and read the answer.
Sign in to try it.
Example request
Each example below is one request, shown in every language. Choose an example and a language, then replace {{BASE_URL}} with the address of the API you are calling and {{API_KEY}} with your own key.
The request body is a IssuePartnerProvisioningKeyDto. See the Request body section below for its fields.
Parameters
Name
In
Type
Description
clientIdrequired
path
string
The authorization server client id of the registration.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
suppressNullsrequired
query
boolean
If true, omit properties with null values.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Request body
application/json, required
Field
Type
Description
ownerUserIdrequired
string (uuid)
The user the key authenticates as: an active reseller-level user of the registration's bound
reseller, with a WinkPG sign-in of their own. The key can do no more than this user can.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
namerequired
string
The key's display name.nullablemax length 128
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
allowedCidrsrequired
array of stringarray of
The partner's source addresses, as IP addresses or CIDR ranges. At least one is required: the
key is refused from anywhere else.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
expireAtrequired
string (date-time)
When the key stops working, in UTC. It must be in the future: an expiry at or before now is
refused. Leave it out for no expiry.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
includeSecurityEventsrequired
boolean
Whether the key can also read the partner's own security events (<c>GET
/api/partner-launch/security-events</c>), to recover one its receiver missed. Off by default. A key
cannot be changed after it is issued, so a partner that wants the read is issued a new key.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
clientIdrequired
string
The client ID of the registration the key is bound to.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
namerequired
string
The key's display name.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
keyrequired
string
The key value. Shown only in this response: store it now.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
ownerUserIdrequired
string (uuid)
The user the key authenticates as.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
allowedCidrsrequired
array of stringarray of
The source addresses the key is accepted from.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
scopesrequired
array of stringarray of
The scopes the key holds: `partner:users`, and `partner:events` beside it when the key was
issued to read the partner's security events.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
expireAtrequired
string (date-time)
When the key stops working, in UTC, or `null` for no expiry.nullable
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This response has no documented body fields.
The request was refused because a rate limit was exceeded, or because something a later retry can clear stopped it. A rate limit refusal carries an `application/problem+json` body: wait at least the interval `Retry-After` names before retrying, then back off. Limits are tuned per deployment, so read the allowance from the response headers rather than assuming a fixed ceiling. Any other refusal carries the standard error envelope as `application/json`, and its `error.code` names the cause.
Values:Values combine: send one or more member names separated by a comma and a space, or the integer sum of their values. Responses carry the names.
This response has no documented body fields.
400Bad RequestBad request. The request was malformed or failed validation. When validation rejected it, `error.validationErrors` names each member at fault and why.
401UnauthorizedUnauthorized. The request carried no API key or signed-in session, or the key it carried is invalid, revoked or expired.
403ForbiddenForbidden. The API key lacks the scope this operation needs, the signed-in user lacks the permission, or a business rule refused the request. The error code in the body names the reason.
404Not FoundNot found. The resource the request names does not exist or is not visible to the caller: a resource that belongs to a merchant or tenant outside the caller's scope is reported as not found.
500Internal Server ErrorInternal server error. The platform failed unexpectedly while handling the request. If it keeps failing, contact support and quote the correlation id, which the response carries in the `X-Correlation-Id` header and as `error.data.correlationId`.
501Not ImplementedNot implemented. The operation is declared but has no implementation on this deployment, so no request to it can succeed. Retrying does not help.
defaultThe request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.The request failed. The body carries the standard error envelope: a machine-readable `error.code`, a human-readable `error.message`, and `error.validationErrors` when the failure was a validation rejection. The error reference lists the values `error.code` can take.