Paycose Docs
ApplicationMembersInvitationOption 1 (Email)
GET/applications/invite/{invite_code}/preview

Preview

Resolve an invite code (email invite token or shareable invite link) and return read-only application metadata — name, bio, member count, country count — so the recipient can preview the workspace before accepting.

The endpoint is keyed by code only (no application_id), because the preview itself reveals which application the code belongs to.

Response shape:

{
  "object": "invitation_preview",
  "code": "...",
  "kind": "email|link",
  "application": {
    "id": "...",
    "app_name": "...",
    "bio": "...",
    "total_member": 0,
    "total_country": 0,
    "created_at": 0
  }
}

Requires: Bearer token (authenticated session, any role).

Request

Example

curl -X GET 'https://api.paycose.com/api/v1/app1/platform/wallet/applications/invite/{{invite_code}}/preview' \
  -H 'X-Session-Token: {{session_token}}'

Headers

NameValue
X-Session-Token{{session_token}}

Responses

200200 OK

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "<string>",
  "code": "<string>",
  "kind": "<string>",
  "application": {
    "id": "<string>",
    "created_at": 0,
    "app_name": "<string>",
    "bio": "<string>",
    "total_member": 0,
    "total_country": 0
  }
}
400400 Bad Request

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}
500500 Internal Server Error

Headers

NameValue
Content-Typeapplication/json

Body

{
  "object": "error",
  "code": "<string>",
  "key": "<string>",
  "i18n_key": "<string>",
  "message": "<string>",
  "request_id": "<string>"
}

On this page