Create Contact
POST
/v1/contacts
curl \
-X POST http://localhost:4000/v1/contacts \
-H "Content-Type: application/json" \
-d '{"contact":{"id":"\u003cuuid v4\u003e","category":"person","last_name":"Muster","first_name":"Melanie"}}'
Request example
{
"contact": {
"id": "<uuid v4>",
"category": "person",
"last_name": "Muster",
"first_name": "Melanie"
}
}
Response examples (201)
{
"data": {
"id": "<uuid v4>",
"category": "person",
"last_name": "Muster",
"first_name": "Melanie"
}
}