Custom Fields
Show custom field with provided ID
Changed onReturns the custom field that matches the given ID.
get/api/v2/custom_fields/{id}
Request
- Base URLhttps://yournation.nationbuilder.com
- AuthHTTP bearer
Response
The requested custom field.
Example response
{
"data": {
"id": "1",
"type": "custom_fields",
"attributes": {
"created_at": "2019-10-26T10:00:00-04:00",
"field_type": "multiple_choice",
"name": "My Custom Field",
"options": {
"1": "option1",
"2": "option2",
"3": "option3"
},
"position": 2,
"resource_type": "Signup",
"slug": "my_custom_field",
"updated_at": "2019-10-26T10:00:00-04:00"
}
},
"included": [
{
"id": "1"
}
]
}Changes
- breaking
the response's body type changed from
objectto no type for status - breaking
removed the required property
from the response with the status - info
added
subschema #2to the response bodyallOflist for the response status - info
media type
application/jsonwas changed to a more specific media typeapplication/vnd.api+jsonfor the response status - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- breaking