Skip to main content
POST
/
admin
/
v1
/
networks
/
{network_id}
/
custom_fields
/
{custom_field_id}
/
members
/
{member_id}
/
answers
Create or update a member's response to a custom field
curl --request POST \
  --url https://api.mn.co/admin/v1/networks/{network_id}/custom_fields/{custom_field_id}/members/{member_id}/answers \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "text": "I love hiking and photography",
  "segment_ids": [
    123
  ]
}
'
{
  "id": "1234",
  "created_at": "2025-12-29T18:18:06+00:00",
  "updated_at": "2025-12-29T18:18:06+00:00",
  "user_id": 12345,
  "custom_field_id": 67890,
  "last_edited_at": "2025-01-15T10:30:00Z",
  "text": "I love hiking and photography",
  "segments": [
    {
      "id": "1234",
      "created_at": "2025-12-29T18:18:06+00:00",
      "updated_at": "2025-12-29T18:18:06+00:00",
      "title": "Gold Member",
      "custom_field_id": 123,
      "description": "Premium tier members",
      "color": "#FFD700"
    }
  ]
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

custom_field_id
integer<uint64>
required

ID of the custom field

member_id
integer<uint64>
required

ID of the member

network_id
required

The Network's unique integer ID, or subdomain Unique numeric network ID

Body

application/json

Submit results as JSON

Request to create or update a custom field answer

text
string

The text response for text-based custom fields

Example:

"I love hiking and photography"

segment_ids
integer<uint64>[]

Array of segment IDs for dropdown custom fields

Response

The custom field answer object

A user's response to a custom field question

id
integer<uint64>
required

The record's integer ID

Example:

"1234"

created_at
string<date-time>
required

The date and time the record was created

Example:

"2025-12-29T18:18:06+00:00"

updated_at
string<date-time>
required

The date and time the record was last modified

Example:

"2025-12-29T18:18:06+00:00"

user_id
integer<uint64>
required

ID of the user who provided this response

Example:

12345

custom_field_id
integer<uint64>
required

ID of the custom field this response is for

Example:

67890

last_edited_at
string<date-time>
required

When this response was last edited

Example:

"2025-01-15T10:30:00Z"

text
string

The text response (for text-based custom fields)

Example:

"I love hiking and photography"

segments
object[]

Array of segments (for dropdown custom fields)