Create a custom field option. If the sort key is not supplied, it’ll default to 1000, so the option appears near the end of the list.
cURL
curl --request POST \ --url https://api.incident.io/v1/custom_field_options \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "custom_field_id": "01FCNDV6P870EA6S7TK1DSYDG0", "sort_key": 10, "value": "Product" } '
{ "custom_field_option": { "custom_field_id": "01FCNDV6P870EA6S7TK1DSYDG0", "id": "01FCNDV6P870EA6S7TK1DSYDG0", "sort_key": 10, "value": "Product" } }
API key from your incident.io dashboard (Settings → API keys)
ID of the custom field this option belongs to
"01FCNDV6P870EA6S7TK1DSYDG0"
Human readable name for the custom field option
"Product"
Sort key used to order the custom field options correctly
10
Created response.
Show child attributes
Was this page helpful?
Contact support