Skip to content
Revadike edited this page Nov 5, 2026 · 1 revision

POST /invites/ajaxcreate

Creates a quick-invite link for a user.

Rate limits

No known rate limit

Request

Authenticated: Yes

Method: POST

Host: steamcommunity.com

Path: /invites/ajaxcreate

Form Data:

Name Type Required Description
sessionid string Yes The value of the sessionid cookie
steamid_user string No The 64-bit SteamID of the user the link is created for; defaults to the logged-in user
duration number No The lifetime of the invite link in seconds

Response

200 OK

Name Type Description
success number Whether the request was successful
token string The invite token
invite object The created invite link
invite.invite_token string The invite token
invite.invite_limit string The number of times the invite link can be used
invite.invite_duration string The lifetime of the invite link in seconds; null when no duration was sent
invite.time_created number Unix timestamp when the invite link was created
invite.valid number Whether the invite link is currently valid
invite.success number Whether the request was successful
invite.rwgrsn number The revision number (internal)

401 Unauthorized

Name Type Description
success string Whether the request was successful
error number The error code

Example

POST https://steamcommunity.com/invites/ajaxcreate { sessionid: "a0b1c2d3e4f5g6h7i8j9klmn", steamid_user: "76561198786103331", duration: "2592000" }
{
    "success": 1,
    "token": "a0b1c2d3e4f5g6h7i8j9klmn",
    "invite": {
        "invite_token": "a0b1c2d3e4f5g6h7i8j9klmn",
        "invite_limit": "1",
        "invite_duration": "2592000",
        "time_created": 1793880846,
        "valid": 1,
        "success": 1,
        "rwgrsn": -2
    }
}

Clone this wiki locally