Syndai Docs

Get a run's share link

Use a key with only read scopes. Your customer_id is in the reply to Get the calling API key.

GET
/api/v1/external/coding/runs/{coding_run_id}/receipt-share

Read whether a run's receipt is publicly shared right now, and its link. A signed-in person only: an API key gets a 404. Requires the coding:runs:read scope.

Authorization

CustomerApiKey
headerAuthorizationBearer <API Key>

Customer API key sent as a bearer token

Path Parameters

coding_run_id*string
Formatuuid

Query Parameters

customer_id?|null

Response Body

Request fulfilled, document follows

application/json
  1. response
active*boolean
share_token?string|null
shared_at?|null
Example Request
curl -X GET 'https://api.syndai.ai/api/v1/external/coding/runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/receipt-share'
Example Response
{  "active": true,  "share_token": "string",  "shared_at": "2019-08-24T14:15:22Z"}
Was this page helpful?