SupportWire API
API ReferenceContacts

Create contact

Required scope: `contacts:write`, `actor=self`.

POST
/api/oauth/v1/contacts

Authorization

bearerAuth
AuthorizationBearer <token>

OAuth access token, e.g. Authorization: Bearer swot_….

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/api/oauth/v1/contacts" \  -H "Content-Type: application/json" \  -d '{    "email": "user@example.com"  }'
{
  "data": {
    "id": "string",
    "user": {
      "id": "string",
      "name": "string",
      "email": "string",
      "instagram_handle": "string",
      "profile_picture_url": "string"
    },
    "source": "string",
    "blocked": true,
    "starred": true,
    "active": true,
    "source_info": {},
    "attributes": {},
    "auth_type": "string",
    "inserted_at": 0,
    "updated_at": 0,
    "active_at": 0
  }
}