# Send a parent portal invitation `POST /api/v1/parents/{id}/portal-invite` Sends or resends a parent portal invitation to the contact email. ## Permissions Send your API key in `X-API-Key`. Required permissions are **Parents → Write**. ## Headers - `X-Sport-Id` (integer, required) — The sport ID from [List sports](/api/sports/list.md). Use the sport the record belongs to. ## Path parameters - `id` (integer, required) — ID of the parent. ## Request Set ASDINCLOUD_API_KEY and any variables named in the example before running it. ```sh curl --request POST \ --url "https://api.asdincloud.com/api/v1/parents/${ID:?Set ID}/portal-invite" \ --header "X-API-Key: $ASDINCLOUD_API_KEY" \ --header "X-Sport-Id: ${SPORT_ID:?Set SPORT_ID}" ``` ## Response **200 OK** Returns `invited: true` when the invitation is sent. Example with fictional data and selected fields. ```json { "status": "success", "message_key": "entities.parent.messages.portal_invite_sent", "invited": true } ``` ## Errors - `401` — The API key is missing or invalid. - `403` — The API key lacks the required permission. - `400` — The invitation could not be sent. - `404` — The requested record was not found. - `422` — The parent needs an email address.