Retrieve an activity

ProRead key

Available on the Pro and Enterprise plans (beta).

GET…/public/activities/{id}

Returns one activity by its ID.

Request
curl https://app.reshta.ir/api/v1/public/activities/0192c4e8-7b1a-7c3e-9f20-5d6a1b2c3d4e \​  -H "Authorization: Bearer $RESHTA_API_KEY"​

Headers

AuthorizationstringrequiredBearer followed by the business API key (rk_live_…).

Path parameters

iduuidrequiredThe record ID (UUID).

Responses and errors

200—Success.
401unauthorizedThe key is missing, wrong or revoked, or its creator is no longer active.
404not_foundNo such record in this business.
429rate_limitedOver 120 requests per minute; Retry-After says how many seconds to wait.
Response
401
{​  "error": {​    "code": "unauthorized",​    "message": "An API key is required: Authorization: Bearer <key>",​    "details": [​      {​        "field": "authorization",​        "message": "api_key_missing"​      }​    ]​  }​}​

Create an API key and send your first request

Keys are created in the Reshta app and shown once. The API and webhooks (beta) are on the Pro and Enterprise plans, and only a business admin can create a key.

  1. 1Sign in at app.reshta.ir
  2. 2Connection → Developer
  3. 3Create API key