Get the caller's own recorded pay
curl --request GET \ --url https://example.com/api/v1/me/pay \ --header 'Authorization: Bearer <token>'Returns the pay the team recorded for the caller (the member cost in force today, monthly or hourly as stored) with its currency and since when. It reads only the caller’s own member and takes no input, so it never names another person; pay is null when nothing is recorded. No permission is required beyond an active membership.
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The caller’s recorded pay.
object
The caller’s own recorded pay. It names no other person and takes no input.
object
Null when the team has recorded no pay for the caller today.
object
The recorded amount, in currency.
The workspace currency, an ISO 4217 code.
Whether the amount is per month or per hour.
The day it took effect, YYYY-MM-DD.
The last day it applies, YYYY-MM-DD; null while it has no end.
Example
{ "data": { "pay": { "per": "month" } }}Unauthorized.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Rate limit exceeded. Wait for Retry-After before retrying.
Standard error envelope.
object
object
Stable machine-readable error code.
Human-readable error message.
HTTP status code, mirrored in the body.
Example
{ "error": { "code": "UNAUTHORIZED" }}Headers
Section titled “Headers”Maximum requests in the current quota window.
Quota policy in requests and window seconds, for example 60;w=60.
Requests left in this quota window (zero when blocked).
Seconds until the current quota window resets, when available from the rate-limit store.
Seconds until another request may be attempted.
Chelsea is operated by Arepa Labs LLC