HydraCore
API by router

Identity unification

List Unification Rules

GET
/v1/identity-unification
AuthorizationBearer <token>

In: header

Query Parameters

customer_id?Customer Id
person_id?Person Id

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X GET "https://loading/v1/identity-unification?customer_id=497f6eca-6276-4993-bfeb-53cbbbba6f08&person_id=497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "X-Api-Key: string"
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Create Unification Rule

POST
/v1/identity-unification
AuthorizationBearer <token>

In: header

Header Parameters

X-Api-Key?X-Api-Key
channelChannel
Lengthlength <= 30
confidence?Confidence
Default"confirmed"
Match^(confirmed|inferred|agent_linked)$
customer_idCustomer Id
Formatuuid
external_identifierExternal Identifier
Lengthlength <= 255
unified_person_idUnified Person Id
Formatuuid

Response Body

curl -X POST "https://loading/v1/identity-unification" \  -H "X-Api-Key: string" \  -H "Content-Type: application/json" \  -d '{    "channel": "string",    "customer_id": "160c0c4b-9966-4dc1-a916-8407eb10d74e",    "external_identifier": "string",    "unified_person_id": "40ddef81-3226-4180-8916-3492de472e47"  }'
null
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}

Delete Unification Rule

DELETE
/v1/identity-unification/{rule_id}
AuthorizationBearer <token>

In: header

Path Parameters

rule_idRule Id
Formatuuid

Header Parameters

X-Api-Key?X-Api-Key

Response Body

curl -X DELETE "https://loading/v1/identity-unification/497f6eca-6276-4993-bfeb-53cbbbba6f08" \  -H "X-Api-Key: string"
Empty
{
  "detail": [
    {
      "loc": [
        "string"
      ],
      "msg": "string",
      "type": "string"
    }
  ]
}