The example
integration is a mock integration built to provide some examples on usage.
Method | URI | Headers |
---|---|---|
GET | /api/v1/integrations/example/leads |
{"Authorization": "Bearer {access_token}"} |
{success} Success Response
200
{
"data" : [
{
"id": "73064d0a-243f-4aac-ac8d-e16b4d236032",
"type": "lead",
"attributes": {
"name": "Joesph Oreil",
"email": "joesph.oreil@fake.com"
}
},
{
"id": "0890d008-c033-4a0a-a0cc-4eb1074fdc9a",
"type": "lead",
"attributes": {
"name": "Morgan D Fontaine",
"email": "dedric2013@fake.com"
}
}
]
}
Method | URI | Headers |
---|---|---|
POST | /api/v1/integrations/example/leads |
{"Authorization": "Bearer {access_token}"} |
{
"secret": "secret"
}
{
"data" : "lead object"
}
{success} Success Response
200
{
"data" : {
"id": "0890d008-c033-4a0a-a0cc-4eb1074fdc9a",
"type": "lead",
"attributes": {
"name": "Test A. Test",
"email": "test@fake.com"
}
}
}
Method | URI | Headers |
---|---|---|
GET | /api/v1/integrations/example/leads/{leadId} |
{"Authorization": "Bearer {access_token}"} |
{success} Success Response
200
{
"data" : {
"id": "0890d008-c033-4a0a-a0cc-4eb1074fdc9a",
"type": "lead",
"attributes": {
"name": "Test A. Test",
"email": "test@fake.com"
}
}
}