Skip to main content
GET
/
v1
/
projects
/
emails
/
{conversationId}
/
status
Get Email Generation Status
curl --request GET \
  --url https://api.migma.ai/v1/projects/emails/{conversationId}/status \
  --header 'Authorization: Bearer <token>'
{
  "success": true,
  "data": {
    "conversationId": "<string>",
    "status": "pending",
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "error": "<string>",
    "result": {
      "subject": "<string>",
      "languages": [
        "<string>"
      ]
    }
  },
  "error": "<string>"
}

Authorizations

Authorization
string
header
required

JWT Bearer token authentication. Use 'Authorization: Bearer ' where the JWT token is obtained from the login endpoint.

Path Parameters

conversationId
string
required

The conversation ID returned from the generate endpoint

Response

Email status retrieved

success
boolean
required
data
object
error
string | null