cURL
contact_NUMBER
curl --request POST \ --url http://localhost:4000/v1/fields/answer \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "customFieldId": 1, "contactId": 100, "answer": [ "42" ] } '
201
Example
{ "contactId": 123, "createdAt": "2023-11-07T05:31:56Z", "updatedBy": { "id": 123, "firstName": "<string>", "lastName": "<string>" }, "contact": { "id": 123, "firstName": "<string>", "lastName": "<string>", "email": "<string>", "previewId": "<string>", "phoneNumber": "<string>", "status": "<string>", "joinedTime": "<unknown>" }, "CustomFieldAnswer": [ { "customFieldRelationId": 123, "createdAt": "2023-11-07T05:31:56Z", "inputType": "<string>", "answer": "<string>", "number": 123, "date": "<unknown>", "customFieldOptionId": 123, "user": { "id": 123, "firstName": "<string>", "lastName": "<string>" }, "userId": 123 } ], "customField": { "id": 123, "name": "<string>", "inputType": "<string>", "type": "<string>", "isSystemField": true, "identifier": "<string>" }, "message": "<string>" }
Create or update a custom field answer for a contact or event call
API key required in Authorization header. Format: iclosed-<token>
iclosed-<token>
x >= 1
1 - 1000
Custom field answer created successfully
Show child attributes