WP Engine Account API
The Account API from WP Engine — 3 operation(s) for account.
The Account API from WP Engine — 3 operation(s) for account.
Every API here is available over the APIs.io API and to AI agents over MCP.
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
find_apisBrowse and filter every API in the catalog.get_api_artifactsOne API's artifacts, grouped by type.get_openapiThe primary OpenAPI for this API.find_similar_apisAPIs that look like this one.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.curl "https://apis.io/api/v1/apis/wpengine-account-api"
curl "https://apis.io/api/v1/apis?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.
openapi: 3.2.0
info:
description: 'The API described in this document is subject to change.
'
version: 1.17.0
title: WP Engine Hosting Platform Account API
termsOfService: https://wpengine.com/legal/terms-of-service/
servers:
- url: https://api.wpengineapi.com/v1
tags:
- name: Account
paths:
/accounts:
get:
tags:
- Account
summary: List your WP Engine accounts
description: '# Description
Use this to list your WP Engine accounts.
'
operationId: listAccounts
parameters:
- $ref: '#/components/parameters/authorization'
- $ref: '#/components/parameters/limitParam'
- $ref: '#/components/parameters/offsetParam'
responses:
'200':
description: List of WP Engine accounts
content:
application/json:
schema:
type: object
properties:
previous:
$ref: '#/components/schemas/PreviousPage'
next:
$ref: '#/components/schemas/NextPage'
count:
$ref: '#/components/schemas/ResultsCount'
results:
type: array
items:
$ref: '#/components/schemas/Account'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestErrorResponse'
'401':
description: Authentication Error
content:
application/json:
schema:
$ref: '#/components/schemas/AuthenticationErrorResponse'
'429':
$ref: '#/components/schemas/TooManyRequestsOperation'
'503':
$ref: '#/components/schemas/ServiceUnavailableOperation'
security:
- basicAuth: []
x-amazon-apigateway-integration:
uri: https://my.wpengine.com/capi/v1/accounts
responses:
'200':
statusCode: '200'
'400':
statusCode: '400'
'401':
statusCode: '401'
'429':
statusCode: '429'
'503':
statusCode: '503'
default:
statusCode: '500'
requestParameters:
integration.request.header.X-Request-ID: context.requestId
integration.request.header.sourceIp: context.identity.sourceIp
integration.request.header.authorization: method.request.header.Authorization
integration.request.querystring.offset: method.request.querystring.offset
integration.request.querystring.limit: method.request.querystring.limit
passthroughBehavior: when_no_match
httpMethod: GET
type: http
/accounts/{account_id}:
get:
tags:
- Account
summary: Get an account by ID
description: Returns a single Account
operationId: getAccount
parameters:
- $ref: '#/components/parameters/authorization'
- name: account_id
in: path
description: ID of account
required: true
x-example: eeda3227-9a39-46ae-9e14-20958bb4e6c9
schema:
type: string
format: uuid
responses:
'200':
description: Success
content:
application/json:
schema:
$ref: '#/components/schemas/Account'
'401':
description: Authentication Error
content:
application/json:
schema:
$ref: '#/components/schemas/AuthenticationErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundErrorResponse'
'429':
$ref: '#/components/schemas/TooManyRequestsOperation'
'503':
$ref: '#/components/schemas/ServiceUnavailableOperation'
security:
- basicAuth: []
x-amazon-apigateway-integration:
uri: https://my.wpengine.com/capi/v1/accounts/{account_id}
responses:
'200':
statusCode: '200'
'401':
statusCode: '401'
'404':
statusCode: '404'
'429':
statusCode: '429'
'503':
statusCode: '503'
default:
statusCode: '500'
requestParameters:
integration.request.header.X-Request-ID: context.requestId
integration.request.header.sourceIp: context.identity.sourceIp
integration.request.header.authorization: method.request.header.Authorization
integration.request.path.account_id: method.request.path.account_id
passthroughBehavior: when_no_match
httpMethod: GET
type: http
/accounts/{account_id}/limits:
get:
tags:
- Account
summary: Fetch account usage limits
description: Fetch account limits such as visitors, storage (GB) and bandwidth (GB) to compare against your current usage.
operationId: getAccountsLimits
parameters:
- $ref: '#/components/parameters/authorization'
- name: account_id
in: path
description: ID of account
required: true
x-example: eeda3227-9a39-46ae-9e14-20958bb4e6c9
schema:
type: string
format: uuid
responses:
'200':
description: OK
content:
application/json:
schema:
$ref: '#/components/schemas/AccountLimits'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/BadRequestErrorResponse'
'401':
description: Authentication Error
content:
application/json:
schema:
$ref: '#/components/schemas/AuthenticationErrorResponse'
'403':
description: Not authorized
content:
application/json:
schema:
$ref: '#/components/schemas/ForbiddenErrorResponse'
'404':
description: Not found
content:
application/json:
schema:
$ref: '#/components/schemas/NotFoundErrorResponse'
'429':
$ref: '#/components/schemas/TooManyRequestsOperation'
'500':
description: Internal Server Error
content:
application/json:
schema:
$ref: '#/components/schemas/InternalServerErrorResponse'
'502':
$ref: '#/components/schemas/BadGatewayOperation'
'503':
$ref: '#/components/schemas/ServiceUnavailableOperation'
security:
- basicAuth: []
x-amazon-apigateway-integration:
uri: https://my.wpengine.com/capi/v1/accounts/{account_id}/limits
responses:
'200':
statusCode: '200'
'400':
statusCode: '400'
'401':
statusCode: '401'
'403':
statusCode: '403'
'404':
statusCode: '404'
'429':
statusCode: '429'
'500':
statusCode: '500'
'502':
statusCode: '502'
'503':
statusCode: '503'
default:
statusCode: '500'
requestParameters:
integration.request.header.X-Request-ID: context.requestId
integration.request.header.sourceIp: context.identity.sourceIp
integration.request.header.authorization: method.request.header.Authorization
integration.request.path.account_id: method.request.path.account_id
passthroughBehavior: when_no_match
httpMethod: GET
type: http
components:
schemas:
InternalServerErrorResponse:
type: object
required:
- message
properties:
message:
type: string
description: A message regarding the error that occurred on the server
example: An unexpected error occurred, please try again in a few minutes
Account:
type: object
required:
- id
- name
- nickname
properties:
id:
type: string
format: uuid
example: eeda3227-9a39-46ae-9e14-20958bb4e6c9
name:
type: string
description: The account name
example: joesaccount
nickname:
type: string
description: The account nickname
example: joesaccount
BadGatewayOperation:
description: An invalid response was received from an upstream server
NotFoundErrorResponse:
type: object
required:
- message
properties:
message:
type: string
description: A message regarding the error that occurred on the server
example: Not Found
documentation_url:
type: string
description: (Optional) A URL where documentation regarding this specific error can be found
ServiceUnavailableOperation:
description: Service unavailable
PreviousPage:
type:
- string
- 'null'
example: https://api.wpengineapi.com/v1/example-endpoint?limit=100&offset=0
description: Path to the previous page of results
ResourceError:
type: object
required:
- resource
- field
- type
- code
- message
properties:
resource:
type: string
description: The name of the resource that was being processed when the error occurred
example: Site
field:
type: string
description: (Optional) The specific field associated with the error
example: name
type:
type: string
description: (Optional) A type associated with the error. `invalid_value`, `access_error`, `value_unavailable`
example: invalid_value
code:
type: string
description: (Optional) A machine code relating to the error that occurred with the field and resource
example: too_long
message:
type: string
description: (Optional) A human-readable message relating to the error that occurred with the field and resource
example: Name is too long (maximum is 40 characters)
AuthenticationErrorResponse:
type: object
required:
- message
properties:
message:
type: string
description: A message regarding the error that occurred on the server
example: Bad Credentials
documentation_url:
type: string
description: (Optional) A URL where documentation regarding this specific error can be found
ResultsCount:
type: integer
example: 225
description: The total number of results
BadRequestErrorResponse:
type: object
required:
- message
properties:
message:
type: string
description: A message regarding the error that occurred on the server
example: 'Invalid Site: Name cannot be empty.'
documentation_url:
type: string
description: (Optional) A URL where documentation regarding this specific error can be found
errors:
type: array
description: An array of error objects describing specific errors that arose when servicing the request
items:
$ref: '#/components/schemas/ResourceError'
TooManyRequestsOperation:
description: Too many requests
NextPage:
type:
- string
- 'null'
example: https://api.wpengineapi.com/v1/example-endpoint?limit=100&offset=200
description: Path to the next page of results
AccountLimits:
type: object
properties:
visitors:
type:
- integer
- 'null'
description: Maximum number of visitors
example: 25000
storage:
type:
- integer
- 'null'
description: Maximum storage allowance in GB
example: 150
bandwidth:
type:
- integer
- 'null'
description: Maximum bandwidth allowance in GB
example: 1000
description: Account limits for environments, storage, bandwidth, and billable visits
ForbiddenErrorResponse:
type: object
required:
- message
properties:
message:
type: string
description: A message regarding the error that occurred on the server
example: You don't have permission to perform that action
documentation_url:
type: string
description: (Optional) A URL where documentation regarding this specific error can be found
parameters:
authorization:
name: Authorization
in: header
schema:
type: string
format: uuid
limitParam:
name: limit
in: query
required: false
description: (Optional) The number of records to return
schema:
type: integer
default: 100
maximum: 100
minimum: 0
offsetParam:
name: offset
in: query
required: false
description: (Optional) The first record of the result set to be retrieved
schema:
type: integer
default: 0
minimum: 0
securitySchemes:
basicAuth:
type: http
scheme: basic
description: 'API username and password from Portal''s API Access page: https://my.wpengine.com/api_access'