You are viewing the Apigee Management API reference documentation. For the main product docs, and to search all docs, go to https://docs.apigee.com. For cross-site search, click Search all in the search results.

Create a consumer key and secret

Resource Summary

Security

Content Type

application/json, application/xml

Category

Developer App Keys,

Createaconsumerkeyandsecret

POST

Create a consumer key and secret

Creates a custom consumer key and secret for a developer app. This is particularly useful if you want to migrate existing consumer keys/secrets to Edge from another system.

Consumer keys and secrets can contain letters, numbers, underscores, and hyphens. No other special characters are allowed.

 

Be aware of the following size limits on API keys. By staying within these limits, you help avoid service disruptions.

 

Consumer key (API key) size 2 KB
Consumer secret size 2 KB
After creating the consumer key and secret, associate the key with an API product using this API: Add API Product to Key.

 

If a consumer key and secret already exist, you can either keep them or delete them with this API: Delete Key for a Developer App.

Also use this API if you have existing API keys and secrets that you want to copy into Edge from another system. For more information, see Import existing consumer keys and secrets.

 

Resource URL

https://api.enterprise.apigee.com/v1 /organizations/{org_name}/developers/{developer_email_or_id}/apps/{app_name}/keys/create

Header Parameters

Name Values Description
Content-Type
(required)

application/json or application/xml

Request Body

HTTP Basic

OAuth 2.0

API Key

Reset

Make a request and see the response.

Make a request and see the response.

Make a request and see the response.

Working...

Help or comments?

  • If something's not working: Ask the Apigee Community or see Apigee Support.
  • If something's wrong with the docs: Click the "Send Feedback" button.
    (Incorrect? Unclear? Broken link? Typo?)