Paycose Docs
ApplicationMembersInvitationOption 1 (Email)
POST/applications/invite/{invite_code}/accept

Accept

Accept a pending invitation to join an application.

The invite_code can be from either an email invitation or a generated invite link. Creates a service account for the accepting user with the role specified in the invitation.

The endpoint is keyed by code only (no application_id), matching the preview endpoint — the code itself resolves the target application.

Requires: Bearer token.

Request

Example

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

Headers

NameValue
X-Session-Token{{session_token}}

Responses

200200 OK

Headers

NameValue
Content-Typeapplication/json

Body

{
  "message": "<string>"
}
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