REST API reference · Source channels
Get the current dynamic business submission contract¶
Discover API submission channels and their current contracts.
GET
/source-channels/{source_channel_id}/business-contract/Parameters¶
| Name | Location | Type | Required |
|---|---|---|---|
source_channel_id |
path | string | Yes |
Request¶
curl --request GET \
--url 'https://api.staging.levr.ai/api/external/v1/source-channels/{source_channel_id}/business-contract/' \
--header 'Authorization: Bearer $LEVR_API_TOKEN'
Responses¶
| Status | Description |
|---|---|
200 |
The channel's current published JSON Schema and submission URL. |
401 |
Provide a valid portal API token and try again. |
403 |
This portal API token does not allow the requested action. |
404 |
The requested resource was not found or is not available to this token. |
409 |
The request conflicts with the resource's current state. Refresh it before trying again. |
429 |
Too many requests were sent. Wait before trying again. |
500 |
Levr could not complete the request. Keep the request ID and retry when safe. |