Integreer Greet's AI-marketingfuncties direct in jouw applicaties. REST API met JSON responses.
De Greet API gebruikt Bearer token authenticatie. Voeg jouw API-sleutel toe aan elke request via de Authorization header.
Je vindt jouw API-sleutel in het Greet Dashboard onder Instellingen → Developers → API Keys. Bewaar je sleutel veilig — deel hem nooit publiekelijk.
# Voorbeeld authenticatie header Authorization: Bearer greet_sk_live_xxxxxxxxxxxxxxxxxxxxxxxx
| Parameter | Type | Vereist | Beschrijving |
|---|---|---|---|
| platform | string | optioneel | Filter op platform: instagram, facebook, linkedin |
| status | string | optioneel | Filter op status: published, scheduled, draft |
| limit | integer | optioneel | Maximaal aantal resultaten (default: 20, max: 100) |
| offset | integer | optioneel | Paginering offset (default: 0) |
{
"data": [
{
"id": "post_01JAN2026XXXXXX",
"platform": "instagram",
"status": "published",
"caption": "Wist je dat een goed geaarde installatie je energierekening...",
"published_at": "2026-01-15T11:00:00Z",
"engagement": { "likes": 47, "comments": 8, "reach": 1240 }
}
],
"meta": { "total": 284, "limit": 10, "offset": 0 }
}
| Parameter | Type | Vereist | Beschrijving |
|---|---|---|---|
| branch | string | vereist | Branche van het bedrijf: elektriciens, schilders, etc. |
| platform | string | vereist | Doelplatform: instagram, facebook, linkedin |
| tone | string | optioneel | Toon: professional, casual, expert (default: professional) |
| topic | string | optioneel | Onderwerp of thema voor de post |
| include_hashtags | boolean | optioneel | Hashtags toevoegen (default: true) |
| language | string | optioneel | Taalcode: nl, en (default: nl) |
{
"content_id": "gen_9fAb3KxP2m",
"caption": "Veiligheid staat bij ons altijd op de eerste plaats! Wist je dat een verouderd stopcontact brandgevaar kan opleveren? Onze elektriciens controleren jouw installatie...",
"hashtags": ["#elektricien", "#veiligheid", "#installatie", "#vakman"],
"platform": "instagram",
"estimated_reach": 850,
"created_at": "2026-01-30T09:42:00Z"
}
| Parameter | Type | Vereist | Beschrijving |
|---|---|---|---|
| period | string | optioneel | Periode: 7d, 30d, 90d (default: 30d) |
| platform | string | optioneel | Filter op platform |
| metrics | string[] | optioneel | Specifieke metrics: reach,engagement,followers,posts |
{
"period": "30d",
"platforms": {
"instagram": {
"followers": { "total": 1842, "growth": +127 },
"posts_published": 28,
"avg_reach": 1240,
"avg_engagement_rate": 4.8,
"total_likes": 1847,
"total_comments": 312
}
},
"leads_generated": 23
}
Rate limits worden per API-sleutel toegepast. De huidige limiet wordt teruggegeven in de response headers.
# Rate limit headers in elke response X-RateLimit-Limit: 100 X-RateLimit-Remaining: 87 X-RateLimit-Reset: 1706611200
Greet kan jouw endpoint notificaties sturen wanneer bepaalde events plaatsvinden. Configureer webhooks in het Dashboard onder Instellingen → Webhooks.
Gebruik een van onze officiële SDK's voor een snellere integratie:
Neem contact op met ons developer team via api@heygreet.nl of join onze Developer Slack community.