Skip to content
Last updated

HTTP Status Codes

WHMCS API uses standard HTTP status codes in the response header:

CodeDescription
200Success
202

You must provide a second authentication factor to finish login.

401

Unauthorized

This indicates that the username or password is not valid or the system denied the requested access.

403

Forbidden

This indicates that the IP address is banned due to too many login failures or it is not whitelisted (when WHMCS API IP restriction is enabled).

404Not Found
409

Conflict

This indicates that the same operation is already in progress for this resource.

412

Precondition Fail

This indicates that Two-Factor Authentication is required or the provided Two-Factor Authentication token is invalid.

422

Invalid input

429

Too Many Requests

The request passed a rate-limited endpoint's allowance. For more information, see Rate Limits.

500Internal Server Error