Provider keys
Remove a provider key
/v1/workspaces/{workspaceId}/provider-keys/{provider}Delete the workspace's own saved key for a provider, whatever its checks run on. If the source is own, that check is skipped until a key is saved again. Removing a key that isn't there is fine. Only the workspace owner can do this, and only from the app. See Owner-only and app-only.
Path parameters
workspaceIdstringrequiredThe workspace's id. An API key can only use its own workspace.
providerstringrequiredThe provider.
twiliois Twilio Verify, which sends phone codes.neverbounceis NeverBounce, which checks email addresses.
Response
Secrets are never returned: a key shows only its last 4 characters.
phoneobjectrequiredPhone codes (Twilio).
Show 2 fieldsHide 2 fields
sourceenumrequiredWhose keys the check runs on.
ayeformuses Ayeform's keys and is charged in credits.ownuses the workspace's own keys andhouseuses keys Ayeform set up for it, and neither is charged. Withownand no key saved, or a key the provider refuses, the check is skipped and the response comes in not verified or not checked. It never falls back to Ayeform's keys.One of
"ayeform","own","house"keyone of 2requiredThe workspace's own saved key, shown whatever the source so the owner can still remove it after staff change the source. Null when none is saved. Keys Ayeform set up for the workspace are never shown.
Show 2 optionsHide 2 options
Option 1
last4stringrequiredThe key's last 4 characters.
addedAtnumberrequiredWhen the key was saved, in milliseconds since the epoch.
failureone of 2requiredThe provider's last problem with the key. It clears once the key works.
Show 2 optionsHide 2 options
Option 1
atnumberrequiredkindenumrequiredrejectedmeans the provider refused the key, and checks are skipped until it's replaced.errormeans another error about the key's account or service, and checks are skipped while it lasts.One of
"rejected","error"messagestringrequiredThe provider's words.
null
accountSidstringTwilio only.
serviceSidstringTwilio only.
null
emailobjectrequiredEmail checks (NeverBounce).
Show 2 fieldsHide 2 fields
sourceenumrequiredWhose keys the check runs on.
ayeformuses Ayeform's keys and is charged in credits.ownuses the workspace's own keys andhouseuses keys Ayeform set up for it, and neither is charged. Withownand no key saved, or a key the provider refuses, the check is skipped and the response comes in not verified or not checked. It never falls back to Ayeform's keys.One of
"ayeform","own","house"keyone of 2requiredThe workspace's own saved key, shown whatever the source so the owner can still remove it after staff change the source. Null when none is saved. Keys Ayeform set up for the workspace are never shown.
Show 2 optionsHide 2 options
Option 1
last4stringrequiredThe key's last 4 characters.
addedAtnumberrequiredWhen the key was saved, in milliseconds since the epoch.
failureone of 2requiredThe provider's last problem with the key. It clears once the key works.
Show 2 optionsHide 2 options
Option 1
atnumberrequiredkindenumrequiredrejectedmeans the provider refused the key, and checks are skipped until it's replaced.errormeans another error about the key's account or service, and checks are skipped while it lasts.One of
"rejected","error"messagestringrequiredThe provider's words.
null
accountSidstringTwilio only.
serviceSidstringTwilio only.
null
telegramFreebooleanrequiredTelegram checks are never charged.
Errors answer with a status and the error shape.