Receive real-time status events from Ropo One into your system.
Use this when you need push-based updates. Use Status Updates when you prefer polling.
note that polling service doesn't include as wide variety of different actions as status notification service does
Please note:
Ropo may add new fields to the messages described in this document without
separately announcing them.
Changes which affects to current field content or naming or any other thing that breaks
backward compatibility are announced as an own change process and are not
implemented in production until users have had enough time to react.
What you receive
Ropo One sends HTTP POST requests to your endpoint. Each request contains one event batch.
One batch can include multiple message types. One batch contains max 500 messages.
Setup checklist
1
Expose a webhook endpoint
Accept POST requests over HTTPS. Parse JSON.
Make the handler idempotent. Use id to dedupe.
2
Choose authentication
Pick either OAuth2 client credentials or Basic Auth. Share the needed details with Ropo.
3
Return the right HTTP status codes
Return 2xx when you have stored the events. Return 4xx for permanent validation errors. Return 5xx for transient errors.
Authentication
Ropo fetches an access token from your token endpoint. Ropo then uses it as a Bearer token for webhook delivery.
Share these values with Ropo:
Token URL
Client ID
Client secret
Webhook service endpoint (your receiver URL)
Scope (if your token endpoint requires it)
Token request (from Ropo to you):
POST <token-url>Content-Type:application/x-www-form-urlencodedgrant_type=client_credentials&scope=<scope>&client_id=<client-id>&client_secret=<client-secret>