zulip/templates/zerver/api/get-custom-profile-fields.md

34 lines
614 B
Markdown
Raw Normal View History

# Get all custom profile fields
{generate_api_description(/realm/profile_fields:get)}
## Usage examples
{start_tabs}
{tab|python}
{generate_code_example(python)|/realm/profile_fields:get|example}
{tab|curl}
{generate_code_example(curl)|/realm/profile_fields:get|example}
{end_tabs}
## Parameters
{generate_api_arguments_table|zulip.yaml|/realm/profile_fields:get}
## Response
#### Return values
{generate_return_values_table|zulip.yaml|/realm/profile_fields:get}
#### Example response
A typical successful JSON response may look like:
{generate_code_example|/realm/profile_fields:get|fixture(200)}