List choices for a node field
The choices for one `ref` field of a node type, such as the phone numbers, agents or integrations in your account. Call it for every `ref` field and never guess an id. If it returns `400 no_options`, the field is not chosen from a list, so ask the user for the value.
Workflow builder. Included from the Jump Starter plan. See plans.
node_typerequiredfieldrequireduser_idintegerReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. [How acting for a client works](/docs/reseller/your-clients/acting-as-clients).
dependsintegerThe value of the field this one depends on (depends_on in the node type), such as the chosen phone number id.
curl -X GET 'https://omnidim.io/api/v1/workflow-node-types/{node_type}/options/{field}' \ -H 'Authorization: Bearer YOUR_API_KEY'
{ "options": [ { "id": 0, "label": "string" } ] }
BearerAuthAuthorizationBearer <token>Bearer token authentication. Obtain your API key from the OmniDimension dashboard.
node_type*stringA node type from listWorkflowNodeTypes, such as whatsapp.
field*stringA field name from getWorkflowNodeType.
user_id?integerReseller keys only: act as one of your clients by its user id. Omit it to act on your own account. How acting for a client works.
depends?integerThe value of the field this one depends on (depends_on in the node type), such as the chosen phone number id.
Response body
application/jsonUp to 100 choices.
application/jsonoptions?Was this page helpful?
Get a workflow node type
The settings one node type reads, with their types, required flags and outputs. Call it before you add or edit a node, because its `fields` are the keys of the node's `config`. Use `detail=full` only when you need help text and examples.
List workflows
Your workflows, oldest first, one cursor page at a time. Use it to find a workflow id. Pass back `next_cursor` until it is `null`.
