REST API
Authentication
Authenticate each REST API request with your user email and an API key.
On this page
Prepare your account
- Create a separate user account (opens in a new tab) for your integration.
- Generate an API key (opens in a new tab) in the WBS account portal.
- Arrange the appropriate site permissions for that user on each site it needs to access.
On the sign-up page, enter the email address for your integration account and select “Send sign up verification email”. Follow the link in the email to continue registration.
Use HTTP Basic Authentication
| Credential | Value |
|---|---|
| Username | The API user’s email address |
| Password | The generated API key |
Include authentication with every HTTP request. Your HTTP client can build the Basic Authentication header from these credentials.
Authorization: Basic <base64(email:api_key)>Make a request with cURL
Set PLEXUS_EMAIL and PLEXUS_API_KEY in your local environment. This example makes an authenticated GET request to https://api.plexus.net/api/v1/me.
curl --request GET \
--user "$PLEXUS_EMAIL:$PLEXUS_API_KEY" \
--header "Content-Type: application/json" \
"https://api.plexus.net/api/v1/me"Choose an endpoint in the API reference (opens in a new tab)
Keep API credentials in your server environment. Do not place them in public website code or shared examples.
Check site permissions
Authentication identifies the API user. Site roles determine what that user can read or change.
Need help with your integration? Contact the Plexus team.