Creates a new transaction contact type for the authenticated user.
POST
/v2/transactions/contacts/types
curl \
--request POST 'https://api.pre.transactiondesk.com/v2/transactions/contacts/types' \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json" \
--data '{"name":"Home Inspector"}'
Request examples
{
"name": "Home Inspector"
}
Response examples (200)
{
"id": "908fcaab-5e43-4122-acd8-26777e9ae4dd"
}
Response examples (400)
{
"code": 400,
"message": "Request was not valid.",
"details": [
"string"
]
}
Response examples (401)
{
"code": 401,
"message": "Unauthorized. The user is not authenticated.",
"details": []
}