Targets

Create/update target

Create or update a target based on externalId (upsert behavior). If externalId exists, target is updated.

post/api/v1/targets

Request

  • Base URL: http://localhost:8080
  • URL: http://localhost:8080/api/v1/targets
  • Auth: bearerAuth (a scheme the document does not define)

Request body

campaignIdstring uuid required
externalIdstring required
phonestring required
metadataobject

Response

Created

successtrue required
messagestring

Example response

{
  "data": {
    "name": "John Doe",
    "phone": "+525512345678"
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.