API version:
  • 1.0
  • 1.1
  • 2.0

oauth_providers

The developer console lets you manage oauth_providers without doing API calls. See https://console.context.io/#settings/imapoauth.

Supported methods

List methods:GETPOST

Instance methods:GETDELETE

oauth_providers list

GET: List of oauth providers configured

GET https://api.context.io/2.0/oauth_providerstest it

POST: Add a new OAuth provider

POST https://api.context.io/2.0/oauth_providerstest it

Parameters

nametypedescription
required:
typestringIdentification of the OAuth provider. This must be either GMAIL and GOOGLEAPPSMARKETPLACE.
provider_consumer_keystringThe OAuth consumer key
provider_consumer_secretstringThe OAuth consumer secret

oauth_provider instance

GET: Information about a given OAuth provider

GET https://api.context.io/2.0/oauth_providers/keytest it
keyThe consumer key for this external OAuth provider

DELETE: Remove a given OAuth provider

DELETE https://api.context.io/2.0/oauth_providers/keytest it
keyThe consumer key for this external OAuth provider