Attention:You’ve reached a page related to the Tyk Classic Portal. If you were searching for API documentation of the new Tyk
Developer Portal please use the latest
Postman collection page.
Future deprecation of Tyk Classic PortalThis product is no longer actively developed as it has been superseded by the new Tyk Developer Portal.
Please note that the Tyk Classic Portal now has limited support and maintenance. Please contact us at support@tyk.ioif you have any questions.
Future deprecation of Tyk Classic PortalThis product is no longer actively developed as it has been superseded by the new Tyk Developer Portal.
Please note that the Tyk Classic Portal now has limited support and maintenance. Please contact us at support@tyk.ioif you have any questions.
List Developers
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers | 
| Method | GET | 
| Type | None | 
| Body | None | 
| Param | None | 
Sample Request
Sample Response
Retrieve a developer object by ID
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers/{id} | 
| Method | GET | 
| Type | None | 
| Body | Developer Object | 
| Param | None | 
Sample Request
Sample Response
Add a Developer Record
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers | 
| Method | POST | 
| Type | None | 
| Body | Developer Object | 
| Param | None | 
Sample Request
Sample Response
Update a Developer Record
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers/{id} | 
| Method | PUT | 
| Type | None | 
| Body | Developer Object | 
| Param | None | 
Sample Request
Sample Response
Delete a Developer
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers/{id} | 
| Method | DELETE | 
| Type | None | 
| Body | None | 
| Param | None | 
Sample Request
Sample Response
Verify Developer Credentials
NOTE: This functionality is available from v2.3.8 onwards
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers/verify_credentials | 
| Method | POST | 
| Type | None | 
| Body | None | 
| Param | None | 
Reset Developer Password
NOTE: This functionality is available from v2.3.8 onwards
| Property | Description | 
|---|---|
| Resource URL | /api/portal/developers/password/:Id | 
| Method | POST | 
| Type | None | 
| Body | None | 
| Param | None | 
Sample Request
Sample Response - Password Changed
Sample Response - Incorrect Developer ID
Analytics
You can get aggregate statistics for 1 key or all developer keys (need to specify a list of all keys). Also, you can group by day (hour or month), and by API (policy id). API Endpoint:/api/activity/keys/aggregate/#{keys}/#{from}/#{to}?p=-1&res=day
- keysshould be specified separated by ’,’ delimiter.
- fromand- tovalues must be in // format.
- resolution specified resattribute: ‘day’, ‘hour’ or ‘month’
- api_id- policy id associated with developer portal API. If ommited return stats for all APIs.
Request
Response
add2b342,5f1d9603, is 2 users keys. Note that this example shows hashed key values as described here. Key hashing is turned on for the Cloud, but for Multi-Cloud and Self-Managed installations you can also turn it off. Hashed keys mean that the API administrator does not have access to real user keys, but they can still use the hashed values for showing analytics.
Add Key To Developer
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/:Id/subscriptions | 
| Method | POST | 
| Type | None | 
| Body | Subscription Object | 
| Param | None | 
Sample Request
Change Developer Key Policy
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/:developerId/keys/:keyId | 
| Method | PUT | 
| Type | None | 
| Body | Policy change Object | 
| Param | None | 
Sample Request
Revoke Developer Key
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/:developerId/keys/:keyID | 
| Method | DELETE | 
| Type | None | 
| Body | None | 
| Param | None | 
Reset Developer Key Quota
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/:developerId/keys/:keyID/reset_quota | 
| Method | POST | 
| Type | None | 
| Body | None | 
| Param | None | 
Delete OAuth app
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/oauth/:appId | 
| Method | DELETE | 
| Type | None | 
| Body | None | 
| Param | None | 
Revoke a Single OAuth Client Token
| Property | Description | 
|---|---|
| Resource URL | /oauth-clients/{oauthClientId}/revoke | 
| Method | POST | 
| Type | JSON | 
| Body | Client Object | 
| Param | None | 
Sample Request
Sample Response
Revoke all OAuth Client Tokens
| Property | Description | 
|---|---|
| Resource URL | /oauth-clients/{oauthClientId}/revoke_all | 
| Method | POST | 
| Type | JSON | 
| Body | Client Object | 
| Param | None | 
Sample Request
Sample Response
Deprecated APIS
Add Subscription To Developer
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/:Id/subscriptions | 
| Method | POST | 
| Type | None | 
| Body | Subscription Object | 
| Param | None | 
Sample Request
Change Developer Key Policy
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/:developerId/:keyId/:policyId | 
| Method | GET | 
| Type | None | 
| Body | None | 
| Param | None | 
Revoke Developer Key
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/key/:apiID/:keyID/:Id | 
| Method | DELETE | 
| Type | None | 
| Body | None | 
| Param | None | 
Reset Developer Key Quota
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/key/:apiID/:keyID/:Id/reset_quota | 
| Method | POST | 
| Type | None | 
| Body | None | 
| Param | None | 
Delete OAuth app
| Property | Description | 
|---|---|
| Resource URL | /portal/developers/oauth/:apiId/:appId | 
| Method | DELETE | 
| Type | None | 
| Body | None | 
| Param | None |