Get a contact

GET https://emails.routeon.io/api/v1/contacts/{id}

Parameters

id string<uuid> required path

Responses

200 OK
404 Resource not found within tenant scope

Example response · 200

{
    "status": "success",
    "http_code": 0,
    "payload": {
        "id": "00000000-0000-0000-0000-000000000000",
        "email": "user@example.com",
        "status": "subscribed",
        "first_name": "string",
        "last_name": "string",
        "custom": [],
        "consent_source": "string",
        "consent_at": "2024-01-01T00:00:00Z",
        "created_at": "2024-01-01T00:00:00Z",
        "updated_at": "2024-01-01T00:00:00Z"
    },
    "meta": []
}

Example response · 404

{
    "status": "error",
    "http_code": 0,
    "payload": [],
    "meta": {
        "reason": "VALIDATION_ERROR",
        "validation_error": [
            {
                "field": "string",
                "message": "string"
            }
        ],
        "details": []
    }
}