For AI agents: a documentation index is available at the root level at /llms.txt and /llms-full.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Logo
DeveloperAcademyCommunityStatus
    • Overview
    • API Credentials
    • Errors
    • Legacy & Deprecated APIs
  • Events API
    • Chat Markup
    • Rate Limits
    • Message Delivery
  • (Beta) Conversations API
  • Data API
    • GETList conversations
    • GETList interactions
    • GETList plugins calls
    • GETList Plugin Resources
    • GETList Users
  • Webhook Listeners
  • Content Gateway
    • Overview
    • Integration Strategies
    • Starter Code
    • Verifying Your Build
    • Connecting Your Gateway to Moveworks
    • Authentication
    • How Permissions Work
    • Common Pitfalls
    • Operational Guide
    • Errors
    • Supported MIME Types
  • Legacy Gateways
    • Authentication
    • Response Options
    • Field Types
    • Form Gateway Errors
DeveloperAcademyCommunityStatus
On this page
  • Optional Fields & Response Structure
  • Pagination
Legacy Gateways

Identity Gateway Response Options

||View as Markdown|
Was this page helpful?
Edit this page
Previous

List Articles

Next
Built with

Optional Fields & Response Structure

The fields marked as required are a must. However, customers have the option to include additional fields for ingestion through the identity gateway if those fields are not efficiently ingested from their existing identity tool (such as AD, Okta, OneLogin).

The provided response structure, excluding pagination settings, serves as a recommended format. Customers have the flexibility to define their own response structure if it better suits their needs.

Pagination

The server-side implementation of the identity gateway should be done keeping in mind that the following code will be used at the client side for ingestion:

Client-side pagination example
1pageToken = None
2pageSize = 1000
3while True:
4 # Initial call will exclude pageToken parameter
5 if not pageToken:
6 response = make_request_to_identity_gateway(pageSize, other_params)
7 else:
8 response = make_request_to_identity_gateway(pageToken, pageSize, other_params)
9 users = response.results
10 ingest_users(users)
11 if 'next_page_token' not in response:
12 break
13 pageToken = response.next_page_token