curl --request POST \
--url https://api.example.com/api/portfolios/{slug}/contact \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>",
"message": "<string>"
}
'{
"success": true,
"message": "<string>",
"timestamp": "<string>",
"data": null
}Submit a contact form message to a portfolio owner
curl --request POST \
--url https://api.example.com/api/portfolios/{slug}/contact \
--header 'Content-Type: application/json' \
--data '
{
"name": "<string>",
"email": "<string>",
"message": "<string>"
}
'{
"success": true,
"message": "<string>",
"timestamp": "<string>",
"data": null
}This endpoint allows visitors to send contact messages to portfolio owners. No authentication is required. The portfolio owner will receive an email notification with the message details.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/LavenderEdit/Portfolio/llms.txt
Use this file to discover all available pages before exploring further.
curl -X POST https://api.portfoliohub.com/api/portfolios/john-doe/contact \
-H "Content-Type: application/json" \
-d '{
"name": "Jane Smith",
"email": "jane.smith@example.com",
"message": "Hi John, I came across your portfolio and would love to discuss a potential collaboration on a React project. Are you available for freelance work?"
}'
{
"success": true,
"message": "Mensaje enviado exitosamente",
"timestamp": "2026-03-09T10:30:00Z",
"data": null
}
{
"success": false,
"message": "Profile not found with slug: invalid-slug",
"timestamp": "2026-03-09T10:30:00Z",
"data": null
}
{
"success": false,
"message": "Validation failed",
"timestamp": "2026-03-09T10:30:00Z",
"data": {
"name": "Name cannot be empty",
"email": "Must be a valid email address",
"message": "Message cannot be empty"
}
}
{
"success": false,
"message": "Validation failed",
"timestamp": "2026-03-09T10:30:00Z",
"data": {
"email": "Must be a valid email address"
}
}
{
"success": false,
"message": "Validation failed",
"timestamp": "2026-03-09T10:30:00Z",
"data": {
"message": "Message must not exceed 5000 characters"
}
}