API keys

Choose which WhatsApp chats the key may read

put/api/v1/api-keys/{apiKeyId}/chat-access

Request

  • Base URL: https://otprun.com
  • URL: https://otprun.com/api/v1/api-keys/{apiKeyId}/chat-access
  • Auth: HTTP bearer

Path parameters

apiKeyIdinteger required

Request body

chat_access'all' | 'own' required

Response

OK

chat_access'all' | 'own' required

all: the key reads every WhatsApp chat of the workspace; own: only chats it wrote to itself

created_atstring date-time required
idinteger required
ip_allowliststring[] nullable required
last_used_atstring date-time nullable required
namestring required
prefixstring required
project_idinteger required
revoked_atstring date-time nullable required
scopesstring[] nullable required

Changes

No recorded changes to this operation across all 1 revision of this API.