cURL
curl --request POST \ --url https://api.distranmail.com/v1/contacts \ --header 'Content-Type: application/json' \ --data ' { "first_name": "<string>", "last_name": "<string>", "emails": [ { "type": "EMAIL_TYPE_UNSPECIFIED", "email": "<string>" } ], "phones": [ { "type": "PHONE_TYPE_UNSPECIFIED", "phone": "<string>" } ], "social_profiles": [ { "type": "SOCIAL_PROFILE_TYPE_UNSPECIFIED", "username": "<string>" } ], "metadata": {} } '
{ "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "created_at": "2023-11-07T05:31:56Z", "account_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a", "first_name": "<string>", "last_name": "<string>", "display_name": "<string>", "company": "<string>", "title": "<string>", "emails": [ { "id": "<string>", "type": "EMAIL_TYPE_UNSPECIFIED", "email": "<string>" } ], "phones": [ { "id": "<string>", "type": "PHONE_TYPE_UNSPECIFIED", "phone": "<string>" } ], "social_profiles": [ { "id": "<string>", "type": "SOCIAL_PROFILE_TYPE_UNSPECIFIED", "username": "<string>" } ], "tags": [ "<string>" ], "metadata": {}, "updated_at": "2023-11-07T05:31:56Z", "last_contacted_at": "2023-11-07T05:31:56Z" }
Show child attributes
Contact created successfully
100
200