Try the API in your browser
Paste your token, pick your region, and send a real request from the docs. No code needed.
Regions and base URL
SaaS Manager is hosted in multiple regions. Choose a base URL for your tenant’s region from the Servers dropdown:https://app.trelica.com(United States)https://eu.trelica.com(Europe)
Authentication
Every request must send an Authorization header carrying an OAuth 2.0 access token, prefixed withBearer:
401 Unauthorized. Inspect the WWW-Authenticate response header for detail. For example:
offline_access scope, use your refresh token to obtain a new access token. A 403 Forbidden means the token is valid but lacks the scope required by the endpoint.
Try it in the docs
Every endpoint has a Try it panel. Paste an access token, pick your region, and send a real request from your browser.1
Get an access token
Use the Client Credentials flow to get a token with a read scope like
People.Read. See Authentication and Scopes.2
Start with a read-only call
Open List people. It reads people in your organization without changing anything.
3
Pick your region and paste your token
Select Try it, choose United States or Europe to match your account, then paste your token in the Authorization field.
4
Send it, then copy the code
Select Send to see the live response. The example panel turns the same request into cURL, Python, JavaScript, Go, and more.
Dates and times
Dates and times are sent and returned in RFC 3339 format. For example,2020-12-25 (midnight) or 2020-12-25T10:50:00Z. Field names ending in Dtm carry a meaningful time component, while field names ending in Date are date-only.
Optional fields and null
Responses omit fields that have no value, so you’ll see the field absent rather than returned asnull. When creating or replacing a resource with PUT, any field you omit is cleared. With PATCH, omitting a field leaves it unchanged, whereas sending it as null clears it.
Pagination
List endpoints are paginated and return up to 100 results by default. You can request up to 1000 with the limit query parameter, though you may receive fewer than requested. Request the next page with theafter query parameter, passing the opaque cursor token that SaaS Manager supplies. The response’s next field (and the link response header, rel="next") contains the full URL for the next page:
startIndex/count pagination scheme instead.
Filtering
Many list endpoints accept a URL-encodedfilter query parameter based on the SCIM filtering specification. A filter is one or more expressions (an attribute name, operator, or optional value) combined with and, or, not, and grouped with parentheses.
Attribute names match the JSON returned and may use dot notation for nested attributes (for example, createdBy.email). For an attribute that is an array of objects, put a sub-expression in brackets so the item matches when any element satisfies it. For example, teams[name eq "Developers"] or teams[id eq "5f8d0a1b2c3d4e5f60718293"]. Values can be double-quoted strings, integers, double-quoted RFC 3339 dates, or booleans. Some list endpoints also accept a free-text q parameter that searches the resource’s displayable fields.
Soft-deleted entities are excluded by default. You can include them with a filter that references deleted (for example, filter=deleted eq true).
For
gt/ge/lt/le, strings compare lexicographically, dates chronologically, and numbers numerically. Each list endpoint documents the fields you can filter on. For example:
Errors
A400 Bad Request indicates a problem with your request. The body is a problem-details object whereerrors maps each offending field to its messages, with title, status, a type URL, and an extensions.traceId for correlation:
500 Internal Server Error, contact saasmanager@1password.com with details of the request so we can investigate.