Delete a contactComing soon
Deletes the contact record and its pipeline details. Conversations with the person are not deleted.
Coming soon. Deletes the contact record and its pipeline details. Conversations with the person are not deleted.
Final action. When the connection is set to Ask me, this call returns 202 with an approval_url and does nothing until the account holder approves it in Matchai; Matchai then performs it exactly as sent and sends approval.resolved. When the connection is set to Allowed, it runs straight away.
Scopes: contacts:write
Pricing: Included with the connection.
AuthorizationBearer <matchai_<base62>>A personal API key, sent as Authorization: Bearer matchai_…. Create keys in Matchai under Settings → Connectors → Advanced (for developers). A key starts with matchai_ followed by letters and digits, carries the scopes chosen when it was created, and can be revoked at any time. Keys reach only the account that created them: to serve other professionals, use Connect with Matchai.
Scope: contacts:write
contact_id*stringContact id.
1 <= length <= 64The connection is set to Ask me: the action waits for the account holder’s approval and nothing has happened yet.
application/json- response
Returned with 202 Accepted when a final action needs the account holder to approve it first. Nothing has happened yet. Matchai performs the call exactly as sent once it is approved, and sends the approval.resolved webhook.
status*stringapproval_id*stringThe approval to poll with GET /approvals/{approval_id}.
1 <= length <= 64approval_url*stringWhere the account holder approves or declines the action in Matchai. You can show or open this link.
uriexpires_at*stringWhen the request lapses if nobody answers it.
date-timesummary*stringA plain-words description of the action, as the account holder sees it.
curl -X DELETE 'https://api.matchai.co/v1/contacts/string'{ "status": "pending_approval", "approval_id": "string", "approval_url": "http://example.com", "expires_at": "2019-08-24T14:15:22Z", "summary": "string"}