Custom API Action
Use the Custom API Action to make an authenticated request to the Okta API.
See Okta API Reference for more information on working directly with the Okta API.
Scopes
See Action cards for the list of required OAuth scopes for this card.
Options
| Field | Definition | Type | Required |
|---|---|---|---|
|
Request Type |
These are the supported HTTP request methods, or HTTP verbs, in a custom API call (see HTTP request methods).
|
Dropdown | TRUE |
Input
| Field | Definition | Type | Required |
|---|---|---|---|
|
Relative URL |
The URL address of the web server that you're attempting to call. Specify the relative URL as A relative URL must have a leading For example, for the Okta API endpoint:
See Okta API. |
Text | TRUE |
|
Headers |
Specify any headers required in addition to authorization or content-type (these are already handled by this connector). |
Object | FALSE |
|
Query |
Specify any additional query parameters that should be included in object format (key value pairs). |
Object | FALSE |
|
Body |
Specify a request body in JSON format. Only available for |
Object | FALSE |
|
Streaming |
|||
|
Flow |
Click Choose Flow to browse and select a helper flow where the search results will be streamed, then click Choose to confirm. Optionally, click the empty field under Click or drop here to create and add custom extensible fields that pass data to the helper flow. These fields are added as key/value pairs under the State output object in the helper flow. This field appears when you select |
Flow | TRUE |
|
Record Limit |
Specify the number of records to stream.
This field appears when you select The The maximum Record Limit is equal to 5000 times the value of the limit parameter. As the default If you manually set the |
Number | FALSE |
Output
| Field | Definition | Type |
|---|---|---|
|
Response |
||
|
Status Code |
Result of the operation. The connector returns an HTTP status code that indicates whether the action taken by the card succeeded or failed. For example:
For a full list of possible status codes, see HTTP status codes. |
Number |
|
Headers |
Detailed context for the status code, unrelated to the output body. Response headers depend on your selected HTTP request option. Not all headers are response headers. This is similar to |
Object |
|
Body |
Data returned from your selected HTTP request. For example, the data from a |
Object |
|
Records Streamed |
Number of records streamed in a streaming flow. This field appears when you select |
Number |