curl --location --request POST 'https://api.leadfeeder.com/v1/custom-fields?account_id=123456' \
--header 'X-Api-Key: <api-key>' \
--header 'Content-Type: application/json' \
--data-raw '{
"data": {
"type": "custom-field",
"attributes": {
"name": "Prospect Status",
"type": "text",
"scope": "company"
}
}
}'{
"data": {
"type": "custom-field",
"id": "score",
"attributes": {
"name": "Prospect",
"scope": "company",
"type": "text",
"read_only": true,
"source": "system",
"created_at": "2024-12-10T15:57:25Z",
"updated_at": "2024-11-24T11:50:00Z"
},
"relationships": {
"created_by": {
"id": "12345",
"type": "user"
}
}
},
"meta": {
"request_id": "cf054205-dd8c-4473-8689-07c30fe0789f"
}
}